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

Bozo Dragojevic commented on PROTON-200:
----------------------------------------

My observation was that messenger was willing to hand out all of it's credit to 
the first link. So when the second client connects, say few seconds later, 
messenger has no credit left to hand out.

This is my attempt at mitigating the issue. 
https://github.com/ttlj/qpid-proton/tree/upstream-credit
                
> [Proton-c] Credit distribution by messenger is not balanced across all links
> ----------------------------------------------------------------------------
>
>                 Key: PROTON-200
>                 URL: https://issues.apache.org/jira/browse/PROTON-200
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.3
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>             Fix For: 0.5
>
>
> The method used to distribute credit to receiving links may lead to 
> starvation when the number of receiving links is > the available credit.
> The distribution algorithm always starts with the same link - see 
> messenger.c::pn_messenger_flow()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to