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

ASF subversion and git services commented on ARTEMIS-4558:
----------------------------------------------------------

Commit bc7e4639e0a4665c106f336fb837c33d2cbcd361 in activemq-artemis's branch 
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=bc7e4639e0 ]

ARTEMIS-4558 Idempotent Mirrored ACKs

Mirror acks should be performed atomically with the storage of the source ACK. 
Both the send of the ack and the recording of the ack should be part of the 
same transaction (in case of transactional).

We are also adding support on transactions for an afterWired callback for the 
proper plug of OperationContext sync.


> AMQP Mirror ACKS should be idempotent
> -------------------------------------
>
>                 Key: ARTEMIS-4558
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4558
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.32.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> When I first developed Mirroring, I assumed sending the mirrored ACK on a 
> aferACK and disconnected from any other transactions would be enough, with 
> the caveat you could get a duplicate delivery on the target mirror in case of 
> failures.
> I got some complains that this is not safe enough from some users, and I'm 
> making this now idempotent.
> I took an overal mirroring hardening approach and I'm improving test coverage 
> for this improvement.



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

Reply via email to