if the whole cluster dies, should not panic

This commit is contained in:
Xiang Li 2013-08-19 16:26:09 -07:00
parent 798d52e695
commit dd2f856d63

View File

@ -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)