dosubot[bot] commented on issue #2812:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2812#issuecomment-2987326416

   <!-- Answer -->
   server 节点之间主要通过 HTTP 和 RPC 进行通讯,负责对外提供 API 服务和任务调度。它们本身是无状态的 API 
层,不直接参与底层数据一致性或元数据管理,所以配置中不需要像 PD 节点那样维护 raft.peers-list 这类集群成员列表。Raft 
共识和集群成员发现只在 PD(负责元数据和调度)和 Store(负责数据存储)层实现,server 节点只需知道如何访问 store/pd 
服务即可,无需和其他 server 节点建立 raft 组或同步状态。
   
   具体来说,server 节点通过 REST_SERVER_URL 配置监听 HTTP 服务,内部还会启动 RPC 
服务用于分布式任务、权限等功能,但这些都是通过服务注册和 RPC 地址发现实现的,不涉及 raft 共识组配置。你可以在 RestServer 和 
GraphManager 相关代码中看到 HTTP 和 RPC 的实现细节,server 
节点的配置和启动流程也印证了这一点。[相关代码参考](https://github.com/apache/incubator-hugegraph/blob/58f2d220487cafae9c19db0d889cd0f727e4ea8d/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/server/RestServer.java)
 [RPC 
机制参考](https://github.com/apache/incubator-hugegraph/blob/58f2d220487cafae9c19db0d889cd0f727e4ea8d/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/core/GraphManager.java)
   
   
   <!-- 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/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/afdc937f-f6fa-4a56-98d3-6ce99bf85c48?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[!
 [Share on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph/issues/2812)


-- 
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]

Reply via email to