Class PreVoteCollector
java.lang.Object
org.opensearch.cluster.coordination.PreVoteCollector
Collects information prior to a promotion vote
- Opensearch.internal:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.common.lease.Releasable
start
(ClusterState clusterState, Iterable<DiscoveryNode> broadcastNodes) Start a new pre-voting round.toString()
void
update
(PreVoteResponse preVoteResponse, DiscoveryNode leader)
-
Field Details
-
REQUEST_PRE_VOTE_ACTION_NAME
- See Also:
-
-
Method Details
-
start
public org.opensearch.common.lease.Releasable start(ClusterState clusterState, Iterable<DiscoveryNode> broadcastNodes) Start a new pre-voting round.- Parameters:
clusterState
- the last-accepted cluster statebroadcastNodes
- the nodes from whom to request pre-votes- Returns:
- the pre-voting round, which can be closed to end the round early.
-
update
-
toString
-