we are exploring the queue-master-locator 'min-masters' policy, and it looks like it works OK when we create new Queues, but when for some reason we need to stop one node of the cluster, every queues existing on that node get promoted (master) to the same node, for example:
Node A has 30 queues Node B has 0 queues Node C has 2 queues Node D has 3 queues
When we stop Node A, all 30 queues get promoted to Node B, it is that the expected result?. We was hoping that the 30 queues would be distribuited across Node B, C, and D...
Please we are starting to get crazy arround this. Has everyone experimented this scenario? and It is posible to achieve what we are expecting to happen when shutdown Node A in some automatic way?
Our policy is defined as follow:
Listing policies ... prod ha queues ^ {"ha-mode":"exactly","ha-params":3,"ha-sync-mode":"automatic","queue-master-locator":"min-masters"}
We have 4 nodes in the cluster, 2 RAM nodes and 2 Disk Nodes.
The policy works just fine when we create new queues but it does nothing when we stop one node.
Thanks