You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Pascal Briquet (Jira)" <ji...@apache.org> on 2024/07/03 11:20:00 UTC

[jira] [Created] (ARTEMIS-4904) Mirroring not replicating messages after message move operation

Jean-Pascal Briquet created ARTEMIS-4904:
--------------------------------------------

             Summary: Mirroring not replicating messages after message move operation
                 Key: ARTEMIS-4904
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4904
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker, management
    Affects Versions: 2.35.0
            Reporter: Jean-Pascal Briquet
         Attachments: message-move-mirroring-test-case.java

Mirroring may not replicate messages when an operator uses the message move operation available from JMX or UI console.

Messages are not replicated after the process of moving messages has finished, even if the target queue of the move operation is replicated via mirroring.

The following issue has been seen on a configuration with two Artemis brokers with bi-directional (dual) mirroring enabled.
Setup:
- Artemis broker 1 "mirroring on" Artemis broker 2
- Artemis broker 2 "mirroring on" Artemis broker 1

*Scenario:*
If messages are injected on broker 1 "queue.A", messages are replicated on broker 2 "queue.A" via mirroring
- When the move operation to "queue.B" is performed on broker 1, messages are correctly replicated on broker 2 "queue.B" after the move
- When the move operation to "queue.B" is performed on broker 2, messages disappear from broker 1 "queue.A" (acks are received) but messages are not replicated on broker 1 "queue.B" after the move.

 

*Test case:*

An integration test case is provided in attachment. To run it, add test code into AMQPReplicaTest class under Artemis integration-tests package.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact