You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2023/02/21 19:33:00 UTC

[jira] [Updated] (ARTEMIS-3312) Federated queue not ack message and duplicate

     [ https://issues.apache.org/jira/browse/ARTEMIS-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram updated ARTEMIS-3312:
------------------------------------
    Component/s:     (was: ActiveMQ-Artemis-Native)

> Federated queue not ack message and duplicate
> ---------------------------------------------
>
>                 Key: ARTEMIS-3312
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3312
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker, Federation
>    Affects Versions: 2.17.0
>         Environment: CentOS 7, Java 1.8 oracle (last), java artemis library (jms listener), artemis 2.17.0
>            Reporter: Alexander Andreevich Revkov
>            Assignee: Clebert Suconic
>            Priority: Major
>         Attachments: artemis_bug_fed.gif, image-2021-05-21-14-53-46-390.png
>
>
> Hello. I have a 3 instances of artemis Cluster (Artemis01 (Master) -> Artemis02 (Slave) and Artemis03 (standalone).
> Artemis01 and Artemis02 have upstream federated queue to Artemis03. I run a JMS consumer on Artemis01 (Master) TEST.FEDERATED address (ANYCAST). I send message with producer to Artemis03 TEST.FEDERATE address (ANYCAST). This message auto delivered with federated queue to my consumer on Artemis01 (Master) and i ACK this message. After this i kill process of Artemis01 (Master) with command kill -9 artemis01_pid. My consumer auto reconnect to slave Artemis02 (Slave) and *MY ACK message* *returned back to Artemis 03!*  Why? If i received this and ack. After message returned back to Artemis03 federated queue did second delivery this message to my JMS consumer on Artemis 02 (Slave). I think this is incorrect behaviour. I add gif image with details. If i not kill artemis 01 process and use command artemis stop then all work fine and message not returned back and deliver twice! I think this is bug. Please fix it.
> !image-2021-05-21-14-53-46-390.png!



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