I found that when the master node publishes the cluster state, in the second phase, it will wait for all slave nodes to respond (successfully or unsuccessfully) before proceeding with the subsequent process. If a request is made to a slave node without setting a timeout and the slave node is in a high latency state, does this mean that the master node will keep waiting indefinitely?@DavidTurner
does this mean that the master node will keep waiting indefinitely?
No, see e.g. o.e.c.c.CoordinatorTests#testUnresponsiveFollowerDetectedEventually
and o.e.c.c.CoordinatorTests#testAckListenerReceivesNoAckFromHangingFollower
.
It's rather rude to @mention
folks who haven't already shown interest in a topic. Normally if pinged like this I will just mute the topic without answering. I am making an exception in this one case, but please don't do it again.
Also Elasticsearch has no concept of a "slave node". This terminology is considered offensive.
Okay, I will avoid this situation in the future,so sorry.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.