[ https://issues.apache.org/jira/browse/AMQ-7298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326265#comment-17326265 ]
ASF subversion and git services commented on AMQ-7298: ------------------------------------------------------ Commit 818d885d6cf5ac4e482888073826d2f41d6cb899 in activemq's branch refs/heads/activemq-5.16.x from gtully [ https://gitbox.apache.org/repos/asf?p=activemq.git;h=818d885 ] AMQ-7298 - fix regression with broker redelivery plugin, fix and test relates to AMQ-8168 (cherry picked from commit c4d2ddfce9944cff6ec4003242ce79a2e843aac8) > failover duplicate detection in error with batched local transactions > --------------------------------------------------------------------- > > Key: AMQ-7298 > URL: https://issues.apache.org/jira/browse/AMQ-7298 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.15.0 > Reporter: Gary Tully > Assignee: Gary Tully > Priority: Major > Fix For: 5.16.0, 5.17.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Messages can get poisonAcked in error as duplicate deliveries when a local > transaction rollback during/after a failover (auto reconnect) event. > The interaction between rollback and failover redelivery has a bunch of > timing issues and did create duplicates in-error that resulted in over eager > suppression. > There are a bunch of related tests that validate expected behaviour, the > related fixes needed to be revisited to better manage the delivered and > unconsumed messages in the context of a local transaction and to avoid the > real duplication of delivery in the client. > There is an additional new test that demonstrates the additional dlq or > duplicates behaviour. > a nice cross section from the unit test suite is: > mvn clean install > -Dtest=CloseRollbackRedeliveryQueueTest,AMQ2149Test,JMSQueueRedeliverTest,RedeliveryPolicyTest,FailoverTransactionTest,FailoverDurableSubTransactionTest,JMSConsumerTest,JmsSessionRecoverTest,AMQ2751Test -- This message was sent by Atlassian Jira (v8.3.4#803005)