Skip to content

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

@lfming

Description

@lfming

正常运行的两台机器,其中一台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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions