Professional Documents
Culture Documents
3. Auth requests with a currentEpoch that is less than the master currentEpoch are
ignored. Because of this the master reply will always have the
same currentEpoch as the auth request. If the same slave asks again to be
voted, incrementing the currentEpoch, it is guaranteed that an old delayed reply
from the master can not be accepted for the new vote.
Example of the issue caused by not using rule number 3:
Master currentEpoch is 5, lastVoteEpoch is 1 (this may happen after a few failed
elections)
• Slave currentEpoch is 3.