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

Dmitriy Nozdrya edited comment on ARTEMIS-5915 at 2/27/26 2:06 PM:
-------------------------------------------------------------------

https://github.com/apache/artemis/pull/6256

If id-cache-size=0 is set on cluster brokers, bridge messages will not be 
routed in the target queue and, therefore, these messages cannot be receive by 
the client.

This behavior occurs because when processing a bridge message, 
[checkBridgeDuplicateID|https://github.com/apache/artemis/blob/e7df0285db50cb0b62cd5b35d2c60e22477f64bc/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java#L1915]
 returns DuplicateCheckResult.DuplicateNotStartedTX , meaning the message is 
considered a duplicate and is not routed to the queue.

It is caused by an incorrect return value when calling atomicVerify for the 
NoOpDuplicateIDCache cache implementation.


was (Author: JIRAUSER284724):
[PullRequest|https://github.com/apache/artemis/pull/6256]

If id-cache-size=0 is set on cluster brokers, bridge messages will not be 
routed in the target queue and, therefore, these messages cannot be receive by 
the client.

This behavior occurs because when processing a bridge message, 
[checkBridgeDuplicateID|https://github.com/apache/artemis/blob/e7df0285db50cb0b62cd5b35d2c60e22477f64bc/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java#L1915]
 returns DuplicateCheckResult.DuplicateNotStartedTX , meaning the message is 
considered a duplicate and is not routed to the queue.

It is caused by an incorrect return value when calling atomicVerify for the 
NoOpDuplicateIDCache cache implementation.

> Bridge messages are not routed to the queue if id-cache-size=0 on the broker
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5915
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5915
>             Project: Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.33.0, 2.51.0
>            Reporter: Dmitriy Nozdrya
>            Priority: Critical
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to