How about Raft‘s Consensus when time moves in different speed among different nodes?

62 views
Skip to first unread message

Jianjun Zheng

unread,
Dec 7, 2016, 1:00:02 AM12/7/16
to raft-dev
It's possible that two nodes believe they are the leader at the same time?
If so, how to resolve the log conflict?

Oren Eini (Ayende Rahien)

unread,
Dec 7, 2016, 1:14:14 AM12/7/16
to raft...@googlegroups.com
It is possible that the old leader still thinks it is the leader while the new one already secured a majority vote.
The other nodes in the cluster will reject the old leader requests, and the entries that it put into the log after losing leadership will be removed


Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Wed, Dec 7, 2016 at 8:00 AM, Jianjun Zheng <code...@gmail.com> wrote:
It's possible that two nodes believe they are the leader at the same time?
If so, how to resolve the log conflict?

--
You received this message because you are subscribed to the Google Groups "raft-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raft-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages