goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zond opened this issue · comments

commented

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?