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

【BUG】max worker num reached. register failed #20

Open
sss534534 opened this issue Mar 21, 2023 · 1 comment
Open

【BUG】max worker num reached. register failed #20

sss534534 opened this issue Mar 21, 2023 · 1 comment

Comments

@sss534534
Copy link

环境:
jdk 1.8
框架:spring-boot 2.3.7.RELEASE
mybatis-spring-boot-starter 2.1.4

问题:

k8s部署,实例IP每次重新部署后都会发生变化。
经常遇到:max worker num reached. register failed

这个问题怎么解决呢?

ZookeeperWorkerRegister中进行节点注册时,会检查IP进行worker-id的复用。ZookeeperWorkerRegister 没有心跳或者保活机制,是否意味着不可用?

@imadcn
Copy link
Owner

imadcn commented Mar 21, 2023

最新的1.6.0 去掉了IP检查问题,
如果还有问题,请另外提供更加详细的部署、配置使用方案等,如是否磁盘外挂,是否选择了持久化存储等

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