fix: protect join req handling from term mismatch
One of the most tricky Raft cases is a so-called ABA problem [1]. In that case it's important to protect a batch of join requests with a term number. Since the whole batch is supplied with atomicity-sensitive uuids, applying it on a different term may cause an inconsistency, which is very, veeeery bad. [1] https://en.wikipedia.org/wiki/ABA_problem
parent
67b62df9
No related branches found
No related tags found
Please register or sign in to comment