Ver Fonte

better warn on restart the entire cluster

Xiang Li há 12 anos atrás
pai
commit
7a9fae9530
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      raft_server.go

+ 1 - 1
raft_server.go

@@ -94,7 +94,7 @@ func (r *raftServer) ListenAndServe() {
 		}
 		ok := joinCluster(cluster)
 		if !ok {
-			warn("the whole cluster dies! restart the cluster")
+			warn("the entire cluster is down! this machine will restart the cluster.")
 		}
 
 		debugf("%s restart as a follower", r.name)