[ 
https://issues.apache.org/jira/browse/ARTEMIS-4211?focusedWorklogId=851549&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-851549
 ]

ASF GitHub Bot logged work on ARTEMIS-4211:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Mar/23 17:43
            Start Date: 17/Mar/23 17:43
    Worklog Time Spent: 10m 
      Work Description: brusdev opened a new pull request, #4409:
URL: https://github.com/apache/activemq-artemis/pull/4409

   The federated queue consumer has to generate a new id for the messages 
received from the upstream broker because they have an id generated by the 
store manager of the upstream broker.
   
   @clebertsuconic thanks for your help




Issue Time Tracking
-------------------

            Worklog Id:     (was: 851549)
    Remaining Estimate: 0h
            Time Spent: 10m

> AMQ222153: Cannot locate record in bidirectional upstream queue federation
> --------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4211
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4211
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Domenico Francesco Bruscino
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Two consumers of the same queue connected to two distinct federated brokers 
> with a bidirectional upstream queue federation can cause the following error:
> {code:java}
> [Thread-12 
> (ActiveMQ-IO-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$8@3e14c16d)]
>  17:55:45,171 WARN  [org.apache.activemq.artemis.core.server] AMQ222153: 
> Cannot locate record for message id = 260 on Journal
> java.lang.Exception: trace
>       at 
> org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.messageUpdateCallback(AbstractJournalStorageManager.java:461)
>  ~[classes/:?]
>       at 
> org.apache.activemq.artemis.core.journal.impl.JournalImpl$3.run(JournalImpl.java:1194)
>  ~[classes/:?]
>       at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57)
>  ~[classes/:?]
>       at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32)
>  ~[classes/:?]
>       at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68)
>  ~[classes/:?]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>  ~[?:?]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  ~[?:?]
>       at 
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
>  ~[classes/:?]
> {code}



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

Reply via email to