You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2024/08/27 14:00:00 UTC
[jira] [Updated] (ARTEMIS-5010) AckManager records from mirror are not being replicated
[ https://issues.apache.org/jira/browse/ARTEMIS-5010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clebert Suconic updated ARTEMIS-5010:
-------------------------------------
Description:
The overall problems is that JournalHashMap is using a local journal most of the time and never the replicated journal.
In this line:
https://github.com/apache/activemq-artemis/blob/38693370c962f9a4d7fbc9dbeb7bffba18f9ad41/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AckManager.java#L82
We send the current journal.. and if a switch happens inside the JournalStorageManager the switch is never captured, and we will never replicate pending acks.
When a failover happens the replica will not have the retries and the system will not reattempt them.
> AckManager records from mirror are not being replicated
> -------------------------------------------------------
>
> Key: ARTEMIS-5010
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5010
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.37.0
> Reporter: Clebert Suconic
> Priority: Major
> Fix For: 2.38.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The overall problems is that JournalHashMap is using a local journal most of the time and never the replicated journal.
> In this line:
> https://github.com/apache/activemq-artemis/blob/38693370c962f9a4d7fbc9dbeb7bffba18f9ad41/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AckManager.java#L82
> We send the current journal.. and if a switch happens inside the JournalStorageManager the switch is never captured, and we will never replicate pending acks.
> When a failover happens the replica will not have the retries and the system will not reattempt them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact