[ 
https://issues.apache.org/jira/browse/AMQ-8201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308611#comment-17308611
 ] 

ASF subversion and git services commented on AMQ-8201:
------------------------------------------------------

Commit 468cd9c5cc5fc81c4742b3b23cc15ef303e2eb66 in activemq's branch 
refs/heads/activemq-5.16.x from Jonathan Gallimore
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=468cd9c ]

AMQ-8201 Forward commit commands for local transactions as well as XA 
transactions during ACK compaction

(cherry picked from commit 631342d76a0a2cf7aa039db9d34db15f8234559f)


> ACK compaction with local transactions
> --------------------------------------
>
>                 Key: AMQ-8201
>                 URL: https://issues.apache.org/jira/browse/AMQ-8201
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.16.1, 5.15.14
>            Reporter: Jonathan Gallimore
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 5.17.0, 5.15.15, 5.16.2
>
>
> I have a consumer running with transacted sessions, and looking in KahaDB, I 
> can see a KAHA_REMOVE_MESSAGE_COMMAND, with the local transaction ID added to 
> the journal, and then a KAHA_COMMIT_COMMAND after it. Some time later, I see 
> the exact same KAHA_REMOVE_MESSAGE_COMMAND appended to the journal again, 
> with the exact same transaction information, but no corresponding 
> KAHA_COMMIT_COMMAND. This appears to follow a 
> KAHA_REWRITTEN_DATA_FILE_COMMAND.
>  
> It looks like the ack compaction method is forwarding the acknowledgement, 
> but not the commit - it appears that the commit is only forwarded in the case 
> of an XA transaction.
>  
> A test and patch is available in the PR here: 
> https://github.com/apache/activemq/pull/636
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to