When a new node or a previously joined node that was later expelled joins a stable cluster, will the leader synchronize the latest cluster status with them? If so, who can tell me where to find this functionality? I have traced the relevant source code but have not found the related feature.
Please be patient in waiting for responses to your question and refrain from pinging multiple times asking for a response or opening multiple topics for the same question. This is a community forum, it may take time for someone to reply to your question. For more information please refer to the Community Code of Conduct specifically the section "Be patient". Also, please refrain from pinging folks directly, this is a forum and anyone that participates might be able to assist you.
If you are in need of a service with an SLA that covers response times for questions then you may want to consider talking to us about a subscription.
It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.
The answer is yes: in o.e.c.c.PublicationTransportHandler.PublicationContext
see how sendFullClusterState
is called if sendClusterStateDiff
gets an IncompatibleClusterStateVersionException
, or if previousState.nodes().nodeExists(destination) == false
.
Thank you for your response. Is the main triggering entry point org.elasticsearch.cluster.coordination.JoinHelper$LeaderJoinAccumulator handleJoinRequest? I see that a "node-join" cluster publishing task will be triggered here for newly joined nodes, which will publish the latest cluster status (including the newly joined node) to all nodes in the cluster (including all nodes).
Yes that's right.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.