algorithm - how does raft deal with log in this senario? -
assume d elected leader in above picture, how deal log index 11 , 12. in opinion, should delete 2 logs, don't find clues in raft paper how deal logs above senario.
if (d) elected leader, replicate log followers, won't remove items @ index 11 & 12. see section 5.3 on log replication in raft paper says
in raft, leader handles inconsistencies forcing followers’ logs duplicate own. means conflicting entries in follower logs overwritten entries leader’s log.
the rules around leader election ensure safe decision make.
Comments
Post a Comment