yldio/skiff

temporarily weaken node

Closed this issue · 0 comments

pgte commented

To better control data locality we must be able to better control which peer gets elected. The safest way to make this happen (that I can think of) is to be able to temporarily weaken a node.

Weakening a node means that, for a short period of time, the node should

  • not react to election timeouts (and thus not becoming a candidate) and,
  • is node is a leader, stop multicasting AppendEntries messages.