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

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

Commit ef3b5fa02c905c503d6b4271b4ce0849600f0215 in activemq-artemis's branch 
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=ef3b5fa02c ]

ARTEMIS-4985 message priority occasionally broken

The test in this commit was distilled down from a much more complex
integration test that rarely reproduced the problem. It is short and
sweet and reproduces the problem every time.

The problem exists in the iterator's `remove()` method where it uses
`index` instead of `i` when calculating a new highest priority.


> Message priority occasionally broken
> ------------------------------------
>
>                 Key: ARTEMIS-4985
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4985
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Sometimes a lower priority message may be dispatched before a higher priority 
> message.



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