Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
Hi raft-dev,For leader election , i found there are two solutions right now, one is pre-vote implemented by copycat , if a server lost connection with leader ,but leader is still on his power to connect with majority, the follower server will do pre-vote (in copycat poll phase), then mostly it will be rejected because it's term value or log will be less than the leader ,and the term will not increase in this phase , but for another solution, when the follower issues an voting request, it increases its term first , then send rpc ,the one received his request will see if it's lease out of date (leader will heart beat to update the lease ), if it's lease is not out of date ,simple reject the request , my question is even though the request is rejected, that follower will still increase it's term again ,will retry and retry endless ,then the term will be monolically increasing , i dont know if my understanding for that is correct or not ,or there is some machenism to prevent it form increasing term?
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to raft-dev+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to raft-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to raft-dev+unsubscribe@googlegroups.com.