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
--
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.
If the follower has no previous logs (last index is 0) and recieves a command from the leader with index N then as you mentioned the follower should get the nearest snapshot or logs from the leader. But I couldn't spot that logic in the implementation.
Thanks,
John
Thanks,
John
It's there. You're likely better off reading the library-v2-stage-two branch, I'd like to think peer.go is cleaner there.
On Wed, Dec 7, 2016 at 7:28 PM, john pradeep <yehoh...@gmail.com> wrote:
Hi Diego,
I am reading the source code at https://github.com/hashicorp/raft
If the follower has no previous logs (last index is 0) and recieves a command from the leader with index N then as you mentioned the follower should get the nearest snapshot or logs from the leader. But I couldn't spot that logic in the implementation.
Thanks,
John
--
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+u...@googlegroups.com.