nmeylan created ARTEMIS-4821:
--------------------------------
Summary: Message count is not correct in case of failover while a
bridge is open on a paging address
Key: ARTEMIS-4821
URL: https://issues.apache.org/jira/browse/ARTEMIS-4821
Project: ActiveMQ Artemis
Issue Type: Bug
Affects Versions: 2.35.0
Reporter: nmeylan
After upgrading from 2.30 to 2.34 one of my test case is failling
{{QueueImpl::getMessageCount()}} does not returns what was expected
See attached Test case *testMessageCount_whenFailoverHappenWhileBridgeIsOpen*
which is failing, I attempt other scenario which succeed
{code:java}
Topology: Simulating DC1 (1 primary + backup pair)
Simulating DC2 1 single primary node
1. Produce messages on dc1Primary1
2. Start a bridge from dc1Primary1 to dc2Primary1
3. Stop dc1Primary1 while transfer has started but not finished
4. dc1Backup1 become alive
5. Start a bridge from dc1Backup1 to dc2Primary1
6. dc2Primary1 has received all messages produced originally
7. Expected: messageCount on dc1Backup1 to be equal to 0, but actual is > 0
Notes: if address is not paging, there is no issue
{code}
After investigation it happen only when address is paging.
Also as I can reproduce only when using bridge it might be due to async
acknowledgement
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact