mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
if the whole cluster dies, should not panic
This commit is contained in:
parent
798d52e695
commit
dd2f856d63
@ -91,7 +91,7 @@ func (r *raftServer) ListenAndServe() {
|
||||
}
|
||||
ok := joinCluster(cluster)
|
||||
if !ok {
|
||||
fatal("cannot rejoin to the cluster")
|
||||
warn("the whole cluster dies! restart the cluster")
|
||||
}
|
||||
|
||||
debugf("%s restart as a follower", r.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user