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

网络中断又恢复后无法拉取配置 #126

Open
lfming opened this issue Jun 29, 2020 · 0 comments
Open

网络中断又恢复后无法拉取配置 #126

lfming opened this issue Jun 29, 2020 · 0 comments

Comments

@lfming
Copy link

lfming commented Jun 29, 2020

正常运行的两台机器,其中一台A通过管理端设置了节点配置信息
另一台B可以正常通过 qconf get_conf /test/testnode 拉取内容
B的网络断了一下很快恢复
这个时候qconf的机制是如何运作的呢,
通过安装文档我的理解是拉取的时候就已经写在内存里或者持久化了,
但是我这边断网期间获取配置 [ERROR]Failed to get conf! ret:10

在网络恢复后拉取也是一直
[ERROR]Failed to get conf! ret:10

B机器中zoo.err.log中是:
2020-06-29 05:31:52,298:5217(0x7f9de94dd700):ZOO_WARN@zookeeper_interest@1557: Exceeded deadline by 11ms
2020-06-29 05:46:11,839:9674(0x7f6baffff700):ZOO_ERROR@handle_socket_error_msg@1643: Socket [【A的IP】:2181] zk retcode=-7, errno=110(Connection timed out): connection to 【A的IP】:2181 timed out (exceeded timeout by 3ms)
2020-06-29 05:46:11,841:9674(0x7f6baffff700):ZOO_ERROR@handle_socket_error_msg@1741: Socket [【B的IP】:2181] zk retcode=-112, errno=116(Stale file handle): sessionId=0x1004864bde50004 has expired.
2020-06-29 05:52:36,008:9674(0x7f6baffff700):ZOO_WARN@zookeeper_interest@1557: Exceeded deadline by 12ms

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

1 participant