mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 07:01:01 +00:00
Requested changes
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
f67db5035e
commit
274540ea0b
1 changed files with 2 additions and 2 deletions
|
|
@ -94,8 +94,8 @@ type Stator interface {
|
|||
// a general cluster state. The output calculation is as follows:
|
||||
// - If any of the nodes are still starting: "STARTING"
|
||||
// - If all nodes are up and running: "NORMAL"
|
||||
// - If number of nodes down is lower than number of replicas: "DEGRADED"
|
||||
// - If number of nodes down is bigger than (or equal to) the number of replicas: "DOWN"
|
||||
// - If number of DOWN nodes is lower than number of replicas: "DEGRADED"
|
||||
// - If number of unresponsive nodes is greater than (or equal to) the number of replicas: "DOWN"
|
||||
// - If any of the nodes started a resize operation, or a new
|
||||
// node was specifically added or removed from the cluster: "RESIZING"
|
||||
ClusterState(context.Context) (ClusterState, error)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue