goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.
MIT License
2.43k stars 480 forks source link

[question] What is the recommended way to kick unreachable nodes? #233

Open zond opened 10 years ago

zond commented 10 years ago

I am currently experimenting with a project using goraft (https://github.com/zond/drafty), and I have made some things work, but I notice that goraft doesn't automatically kick peers that don't respond to the heartbeat AppendEntries.

If an AppendEntries fails, should I just execute a DefaultLeaveCommand on the master?