You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew MacBean (JIRA)" <ji...@apache.org> on 2014/07/04 13:26:33 UTC

[jira] [Created] (QPID-5877) Potential for rejected messages to be resent out of order

Andrew MacBean created QPID-5877:
------------------------------------

             Summary: Potential for rejected messages to be resent out of order
                 Key: QPID-5877
                 URL: https://issues.apache.org/jira/browse/QPID-5877
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Andrew MacBean
            Assignee: Andrew MacBean


The AbstractQueue.getNextAvailableEntry implementation has the potential to choose the wrong node when lastSeen and releasedNode are the same. 

The logic currently uses the compareTo impl to determine which node to select but uses the > operator and so wont select releasedNode in the case were that and lastSeen are the same.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org