Skip to content

refactor: rearrange raft_conf_change logics

Yaroslav Dynnikov requested to merge 185-followup into master

A follow-up for #185 (closed) and !440 (merged).

  1. Provide more descriptive failure domains docstrings
  2. Introduce failure domains unit testing
  3. Rearrange raft_conf_change logics:
    • Besides raft_conf local state introduce promotable set of instances that are suitable for promotion.
    • Remove an instance from promotable set when it's actually promoted.
Edited by Yaroslav Dynnikov

Merge request reports