Closed wintersteiger closed 2 years ago
cwinter_2tx_fixes@36349 aka 20211109.4 vs main ewma over 20 builds from 35983 to 36343
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
/azp run
All good. This is ready for review.
This fixes a bug in the retirement logic for 2tx reconfiguration. A node would not revert to being a follower after it's change to
RETIRING
was rolled back. It does so with this fix, but it now triggers a long series of elections, sometimes ending up in a situation where it rejects append entries for a long time (possibly forever).Also adds a function to wait for reconfiguration completion in tests to avoid tests interfering with each other.