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

ASF subversion and git services commented on PROTON-2951:
---------------------------------------------------------

Commit b172f148155f6e257dd97f74b9f904da1f6cb5a2 in qpid-protonj2's branch 
refs/heads/1.x from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=b172f148 ]

PROTON-2951 Fix issue in next receiver processing return order

Ensure correct receiver is returned when using round robin policy for
selecting the next available receiver

(cherry picked from commit 8fb832324b35068c4d52b5cb54c94f5e5ab999c3)


> ROUND_ROBIN policy implementation error
> ---------------------------------------
>
>                 Key: PROTON-2951
>                 URL: https://issues.apache.org/jira/browse/PROTON-2951
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: protonj2
>    Affects Versions: protonj2-1.2.0
>            Reporter: Flavio Baronti
>            Assignee: Timothy A. Bish
>            Priority: Major
>
> In {{ClientNextReceiverSelector.selectNextAvailable}} there is a loop 
> searching for the first available receiver past the last returned receiver. 
> Once an eligible receiver is found though, the is no {{break}} from the loop, 
> causing search to proceed until the last receiver. This makes the 
> {{ROUND_ROBIN}} policy work improperly.
> [https://github.com/apache/qpid-protonj2/blob/8c9cb5ea5bfdbc14960f2293f6fc18af089fd1fe/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientNextReceiverSelector.java#L151]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to