Open reneradoi opened 3 weeks ago
This could be linked to #324
Suggested resolution to this: when nodes are removed from the peer relation and only two nodes remain, one of them should be added to the voting exclusions in order to avoid split brain situations.
Steps to reproduce
UNASSIGNED
state and don't get assigned anymoreExpected behavior
If there are only two units left, one should become the primary for the unassigned shards.
Actual behavior
No units takes over the primary role for the unassigned shards, thus esp. the index
.charm_node_lock
may stay unavailable and no further locks for scaling down (or up) can be acquired.Log output
Juju debug log:
Additional context
Also see this issue, where some investigations and workarounds are discussed.