Description
Given two brokers A and B, with configured mirror A towards B and a queue Q. If disk operations on B are slow, and there are active exchanges of messages on queue Q, for example:
- Send message 1
- ACK message 1
- Send message 2
- ACK message 2
- ...
At the end queue Q on B will contain some unacknowledged messages, while queue Q on A will be empty.
The issue is that commit in sendMessage may take some time and ref to message will be written to the intermediate store only after receiving an ACK for this message.