Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当我注销一个实例后再次查询服务是查询的缓存然后再查询的实例,应该如何避免这个问题? #703

Open
shcw opened this issue Dec 28, 2023 · 4 comments

Comments

@shcw
Copy link

shcw commented Dec 28, 2023

这个问题会导致一致性的问题产生

我是用的nacos-sdk-go 1.14版本

@binbin0325
Copy link
Member

为什么要避免查询缓存,当实例注销后,缓存是会更新的

@shcw
Copy link
Author

shcw commented Jan 8, 2024

因为 我看v1版本的sdk 缓存更新是 完全依赖于订阅监听 这个延迟本地测试在10s左右 实在是有点高

@2418939950
Copy link

因为 我看v1版本的sdk 缓存更新是 完全依赖于订阅监听 这个延迟本地测试在10s左右 实在是有点高

解决了吗

@2418939950
Copy link

我也遇到发现不了服务的问题,版本也是1.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants