You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data loss issue with mirror queues on operator deployed clusters. Reported by internal team. cc @mkuratczyk@Gsantomaggio
To Reproduce
Steps to reproduce the behavior:
Deploy 3 nodes rabbitmq cluster
Create HA policy with params: "ha-mode: exactly, ha-params: 2, ha-promote-on-failure: when-synced, ha-sync-batch-size: 5000, ha-sync-mode: automatic"
Use perf tests to populate the cluster with unconsumed messages -y0 -queue-pattern 'perf-test-%d' \ --auto-delete false --queue-pattern-from 1 --queue-pattern-to 10 -s 1000 -x 10 -y 0 -r 1000 -R 0 -f persistent
Stop perf-tests (without triggering any alarms and all queues should be synced)
Delete one node which has queue masters located on and observe data loss (0 message left)
Include any YAML or manifest necessary to reproduce the problem.
Expected behavior
After deleting one rabbitmq node, the mirror queue should be promoted as the master queue and rabbitmq should create a new mirror in node that's not deleted.