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

zk集群删除无效数据 #2368

Open
bruse-peng opened this issue Nov 14, 2023 · 1 comment
Open

zk集群删除无效数据 #2368

bruse-peng opened this issue Nov 14, 2023 · 1 comment

Comments

@bruse-peng
Copy link

我们使用k8s 部署的zk集群,然后我们服务部署在k8s,然后每次服务重启就会注册一个ip上来,时间久了就会存在垃圾数据,这个怎么删除了,由于是zk集群,删除数据理论上总有一个时间差,这个有影响吗?

@songxiaosheng
Copy link
Member

songxiaosheng commented Nov 20, 2023

这个问题已经提PR处理过了,每次启动进程时候清理掉有状态的server ip就可以了,没啥影响,可以测试环境验证下
#2251

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

2 participants