According to the ha-params in the policy, the queues matching the pattern should have 1 leader and 1 mirror node, and this configuration is usually applied correctly. However, at random times (day or night), the queue suddenly ends up with 1 leader and 2 mirror nodes, despite the policy still being attached (verified via the management console).
To fix this, I delete and reapply the policy, which temporarily restores the expected behavior. However, the issue reappears after some time (usually within a day).
Steps Already Taken:I’m unsure why the queue sometimes doesn’t respect the defined policy. Any insights or suggestions would be greatly appreciated.
When 1 (expected):
routing.delayed.600 [<rab...@ip-10-100-33-22.1731572647.119937955.1>] [{<<"dead-letter-exchange">>, ex.routing.post-delay}, {<<"ha-mode">>, exactly}, {<<"ha-params">>, 2}, {<<"ha-sync-mode">>, automatic}]
When 2 (unexpected):
routing.delayed.600 [<rab...@ip-10-100-38-50.1731572650.262150484.0>, <rab...@ip-10-100-33-22.1731572647.189573674.1>] [{<<"dead-letter-exchange">>, ex.routing.post-delay}, {<<"ha-mode">>, exactly}, {<<"ha-params">>, 2}, {<<"ha-sync-mode">>, automatic}]
we have the same queue that has same pattern (e.g: routing.delayed.200) with the same vhost and using the same policy but that never got affected.