From 274540ea0b8557caa7ab9cd9b7158fead9ecf7f3 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Tue, 2 Mar 2021 13:46:37 +0100 Subject: [PATCH] Requested changes Signed-off-by: Antonio Navarro Perez --- disco/disco.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disco/disco.go b/disco/disco.go index 49c0970e8..39f15e762 100644 --- a/disco/disco.go +++ b/disco/disco.go @@ -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)