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

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

                Author: ASF GitHub Bot
            Created on: 06/Sep/24 14:57
            Start Date: 06/Sep/24 14:57
    Worklog Time Spent: 10m 
      Work Description: lavocatt opened a new pull request, #5220:
URL: https://github.com/apache/activemq-artemis/pull/5220

   Add a new option in the Mirror setting to prevent a broker from propagating 
messages.
   
   When working with a topology where 4 nodes form a square and each node 
mirrors to its two neighbors, a message leaving a corner can reach the opposite 
corner of the square by two different routes. This is causing the ordering of 
message to get broken.
   
   example:
   1 <-> 2
   ^     ^
   |     |
   v     v
   4 <-> 3
   
   A message from a will reach 3 by 2 and 4. Message duplication checks will 
prevent the message from being duplicated but won't help regarding the order of 
the messages.
   
   Using the new option to not forward messages coming from a link, we break 
the possibilities to have two routes to reach the opposite corner.
   
   On the example above, we ask 4 to not forward any messages coming from 1 if 
1 is the primary sender of the messages.
   
   This means that now, a message sent to 1 will reach 3 only by 2 and not by 4.




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

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

> AMQ Broker Mirroring: One to Many - avoid the infinite loop of the messages
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5037
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5037
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Thomas Lavocat
>            Assignee: Thomas Lavocat
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> AMQ Broker Mirroring: One to Many - avoid the infinite loop of the messages:
> if we have a->b-c->a..
> a message will circulate forever in the mirrors



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to