[
https://issues.apache.org/jira/browse/AMQ-9829?focusedWorklogId=1000884&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1000884
]
ASF GitHub Bot logged work on AMQ-9829:
---------------------------------------
Author: ASF GitHub Bot
Created on: 19/Jan/26 20:52
Start Date: 19/Jan/26 20:52
Worklog Time Spent: 10m
Work Description: mattrpav commented on code in PR #1616:
URL: https://github.com/apache/activemq/pull/1616#discussion_r2706045447
##########
activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java:
##########
@@ -933,6 +943,16 @@ private void beforeMessageIsConsumed(MessageDispatch md)
throws JMSException {
if (!isAutoAcknowledgeBatch()) {
synchronized(deliveredMessages) {
deliveredMessages.addFirst(md);
+ if (session.isTransacted()) {
Review Comment:
Can you expand on how this is only impacted by transacted sessions?
Issue Time Tracking
-------------------
Worklog Id: (was: 1000884)
Time Spent: 1h (was: 50m)
> Track prefetched messages for duplicate suppression during failover
> -------------------------------------------------------------------
>
> Key: AMQ-9829
> URL: https://issues.apache.org/jira/browse/AMQ-9829
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Jean-Louis Monteiro
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Discovered with {{FailoverDurableSubTransactionTest}} flacky test
> During failover, messages were wrongly detected as being duplicated and sent
> to DLQ.
--
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