In the raft consensus algorithm, is this scene possible?

61 Views Asked by At

enter image description here As shown in the picture, how was S2 elected leader for the third term? The term of S2's latest log during the election was 1, so he could only get votes from S4.He will fail in this election.

here's the exam with answers. https://ongardie.net/static/raft/userstudy/rubric.pdf I have no doubt about the answer,but I can't explain how S2 elected. Could anyone help?

searched in google,github,stackoverflow. discuss with friends. And learned the MIT course about Raft.But I still think this scene is wrong

0

There are 0 best solutions below