summaryrefslogtreecommitdiff
path: root/erlang.mk
diff options
context:
space:
mode:
authorAndrew Bruce <me@andrewbruce.net>2016-10-05 15:21:47 +0100
committerAndrew Bruce <me@andrewbruce.net>2016-10-05 15:21:47 +0100
commitc1c56a29b098b7c5ad0915a340a2a039e61a22a3 (patch)
tree4f5fb822ed7e359a264920650e0522ebc2be6013 /erlang.mk
parent75795f977c8b96fa580d58cd9bda049e312b2044 (diff)
downloadrabbitmq-server-git-c1c56a29b098b7c5ad0915a340a2a039e61a22a3.tar.gz
Choose master from intersection of sync slaves and policy nodes
Previously, when applying an HA policy with the 'nodes' type, if the current master was not part of the new policy, then the first synchronised slave was chosen as the new master. This would happen even if the node was not part of the new policy. For example, if we began with: Master A Slaves [B, C] Then requested a new policy of just [C], we'd end up with: Master B Slaves [C] Instead, choose the master from the intersection of (nodes in the policy) and (synchronised slaves). Issue #990 [#126767013]
Diffstat (limited to 'erlang.mk')
0 files changed, 0 insertions, 0 deletions