Skip to content

Commit

Permalink
if the whole cluster dies, should not panic
Browse files Browse the repository at this point in the history
  • Loading branch information
xiang90 committed Aug 19, 2013
1 parent 798d52e commit dd2f856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raft_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

This comment has been minimized.

Copy link
@SEJeff

SEJeff Aug 20, 2013

s/dies/died/ perhaps?

This comment has been minimized.

Copy link
@philips

philips Aug 20, 2013

Contributor

The entire cluster is down. Restart the cluster.

}

debugf("%s restart as a follower", r.name)
Expand Down

0 comments on commit dd2f856

Please sign in to comment.