libraft
libraft copied to clipboard
Implement leader leases
Currently a leader remains so until it receives an AppendEntries informing it of a new leader, or a message with a newer term. During network partitions this is insufficient. Because the old leader does not experience a leadership change, clients that connect to this leader continue to submit commands, believing that they will be processed.