You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/04 16:20:34 UTC

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

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

ASF subversion and git services commented on QPID-5877:
-------------------------------------------------------

Commit 1607863 from [~macbean] in branch 'qpid/trunk'
[ https://svn.apache.org/r1607863 ]

QPID-5877: [Java Broker] Potential for rejected messages to be resent out of order

Work completed by Keith Wall <kw...@apache.org> and me.

> 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