-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Coordination/Cluster CoordinationCluster formation and cluster state publication, including cluster membership and fault detection.Cluster formation and cluster state publication, including cluster membership and fault detection.>enhancementTeam:Distributed CoordinationMeta label for Distributed Coordination teamMeta label for Distributed Coordination team
Description
Description
When a disaster recovery scenario occurs, and it makes it impossible to elect the master node, what user need to do
- When the cluster loses more than half of its master-eligible nodes, you need to use the elasticsearch-node unsafe-bootstrap command to perform unsafe boot recovery
- All remaining nodes must be stopped
- Select one of the remaining master-eligible nodes as the new elected master node. The selection criteria is the node with the largest term. If the terms are the same, the node with the largest version is selected.
- Run the elasticsearch-node unsafe-bootstrap command on the selected node
- Run the elasticsearch-node detach-cluster tool on each other node in the cluster.
This tool resets the node's cluster UUID, allowing it to join a new cluster with a different UUID.
However, this series of operations cannot be completed automatically, If it is clear in advance that data loss is acceptable, can a switch option be set to automatically complete the above operations?
Metadata
Metadata
Assignees
Labels
:Distributed Coordination/Cluster CoordinationCluster formation and cluster state publication, including cluster membership and fault detection.Cluster formation and cluster state publication, including cluster membership and fault detection.>enhancementTeam:Distributed CoordinationMeta label for Distributed Coordination teamMeta label for Distributed Coordination team