activemq-artemis/tests/unit-tests
Clebert Suconic 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.
2024-09-23 11:48:24 -04:00
..
src/test/java/org/apache/activemq/artemis/tests/unit ARTEMIS-5038 Mirrored ACKs are broken if using multiple priorities on producers 2024-09-23 11:48:24 -04:00
pom.xml [maven-release-plugin] prepare for next development iteration 2024-08-16 10:23:18 -04:00