dosubot[bot] commented on issue #2857: URL: https://github.com/apache/incubator-hugegraph/issues/2857#issuecomment-3227082600
<!-- Answer --> 你的情况很可能是因为 Raft 协议的状态同步延迟或清理不完全导致的。HugeGraph 的 store 节点移除分为两步:一是 PD 元数据更新,二是 Raft 集群成员变更。即使 PD 查询不到 store1,Raft 层如果没有及时同步或有网络分区、RPC 重试等异常,其他节点仍可能尝试与 store1 通信,导致 raft-hugegraph-store.log 持续报错。这在分布式系统中是常见现象,尤其是在 HugeGraph 1.5.0 版本下,移除 HStore 节点后集群可能会出现不可用或异常 RPC 错误的情况,且 initial-store-count 配置也无法避免此问题 [相关讨论](https://github.com/apache/incubator-hugegraph/issues/2849)。 建议你: 1. 检查所有 PD 节点的 raft.peers-list、address、data-path 配置是否一致,确保网络互通; 2. 查看 PD 节点日志,确认 Raft 状态是否有异常或警告; 3. 给集群一些时间让 Raft 状态收敛,如果长时间不恢复,可以尝试重启异常的 PD 节点或整个集群; 4. 如果依然有问题,考虑手动触发 Raft 成员变更或清理残留节点配置。 这种现象在 Raft 协议下属于正常,但如果持续报错影响业务,建议优先排查配置和网络,并关注后续版本的优化 [相关说明](https://github.com/apache/incubator-hugegraph/issues/2810)。 <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/461a2109-32e1-4763-822d-4421af1a3fd5?feedback_type=other)</sup> [](https://app.dosu.dev/e5e246fa-a522-4d8a-ab3c-e2588b5b501b/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph/issues/2857) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
