Module org.elasticsearch.server
Package org.elasticsearch.cluster.coordination
package org.elasticsearch.cluster.coordination
-
ClassDescriptionA master node sends this request to its peers to inform them that it could commit the cluster state with the given term and version.If this node believes that cluster formation has failed, this record provides information that can be used to determine why that is.This service reports the health of master stability.A collection of persistent node ids, denoting the voting configuration for cluster state changes.The core class of the cluster state coordination algorithm, directly implementing the formal modelPluggable persistence layer for
CoordinationState
.A collection of votes, used to calculate quorums.This exception is thrown when rejecting state transitions on theCoordinationState
object, for example when receiving a publish request with the wrong term or version.It's provably impossible to guarantee that any leader election algorithm ever elects a leader, but they generally work (with probability that approaches 1 over time) as long as elections occur sufficiently infrequently, compared to the time it takes to send a message to another node and receive a response back.Allows plugging in a custom election strategy, restricting the notion of an election quorum.Thrown when a cluster state publication fails to commit the new cluster state.The FollowersChecker is responsible for allowing a leader to check that its followers are still connected and healthy.Triggered by aStartJoinRequest
, instances of this class represent join votes, and have a source and target node.Tracks nodes that were recently in the cluster, and uses this information to give extra details if these nodes rejoin the cluster.Coordinates the join validation process.A publication can succeed and complete before all nodes have applied the published state and acknowledged it; however we need every node eventually either to apply the published state (or a later state) or be removed from the cluster.The LeaderChecker is responsible for allowing followers to check that the currently elected leader is still connected and healthy.This class represents a node's view of the history of which nodes have been elected master over the last 30 minutes.This service provides access to this node's view of the master history, as well as access to other nodes' view of master stability.This exception is thrown if the File system is reported unhealthy by @FsHealthService
and this nodes needs to be removed from the clusterClass encapsulating stats about the PendingClusterStatsQueueImplements the low-level mechanics of sending a cluster state to other nodes in the cluster during a publication.Class encapsulating stats about the PublishClusterStateActionRequest which is used by the master node to publish cluster state changes.Response to aPublishRequest
, carrying the term and version of the request.Response to aPublishRequest
.Computes the optimal configuration of voting nodes in the cluster.This indicator reports the health of master stability.Represents the action of requesting a join vote (seeJoin
) from a node.