Commit c0c6f89c authored by Kirill Smelkov's avatar Kirill Smelkov

X neo/go/proto: Sync with neo/py/proto

See aeeaef89 (Update comment of RECOVERING state).
parent c42272a3
......@@ -130,13 +130,13 @@ const (
type ClusterState int32
const (
// Once the primary master is elected, the cluster has a state, which is
// initially ClusterRecovery, during which the master:
// The cluster is initially in the RECOVERING state, and it goes back to
// this state whenever the partition table becomes non-operational again.
// An election of the primary master always happens, in case of a network
// cut between a primary master and all other nodes. The primary master:
// - first recovers its own data by reading it from storage nodes;
// - waits for the partition table be operational;
// - automatically switch to ClusterVerifying if the cluster can be safely started. XXX not automatic
// Whenever the partition table becomes non-operational again, the cluster
// goes back to this state.
ClusterRecovering ClusterState = iota
// Transient state, used to:
// - replay the transaction log, in case of unclean shutdown;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment