4 ms·
IIRC, a monatomic counter is involved. The odd one out will realize it's behind the highest sequence number and discard it's updates to resync with the majorit
by jasonjayr 6y ago
IIRC, a monatomic counter is involved. The odd one out will realize it's behind the highest sequence number and discard it's updates to resync with the majority consensus.
Edit: http://thesecretlivesofdata.com/raft/ http://thesecretlivesofdata.com/raft/ if you have some time seems to be a good step by step explanation on how it works in detail.
- adsharma 6y agoThe visual is indeed cool. I also thought it'd be nice to use a chat like interface to learn raft. Alice: /set a 1 Alice: /set b 2 Bob: /status Etc https://github.com/adsharma/zre_raft https://github.com/adsharma/zre_raft https://github.com/adsharma/raft https://github.com/adsharma/raft Bug reports welcome