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

ASF subversion and git services commented on ARTEMIS-5038:
----------------------------------------------------------

Commit f92a846c216df4efb3fad7f66b72e8bc58a04f23 in activemq-artemis's branch 
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=f92a846c21 ]

ARTEMIS-5038 Mirrored ACKs are broken if using multiple priorities on producers

PriorityLinkedList has multiple sub-lists, before this commit 
PriorityLinkedList::setNodeStore would set the same node store between all the 
lists.
When a removeWithID was called for an item on list[0] the remove from list[4] 
would always succeed first. This operation would work correctly most of the 
time except
when tail and head is being used. Many NullPointerExceptions would be seen 
while iterating on the list for remove operations, and the navigation would be 
completely broken.

A test was added to PriorityLinkedListTest to make sure the correct lists were 
used however I was not able to reproduce the NPE condition in that test.
AccumulatedInPageSoakTest reproduced the exact condition for the NPE when 
significant load is used.


> Mirror ACKs are broken if using multiple priorities
> ---------------------------------------------------
>
>                 Key: ARTEMIS-5038
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5038
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.37.0
>            Reporter: Clebert Suconic
>            Priority: Major
>             Fix For: 2.38.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




--
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