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

ASF GitHub Bot commented on DISPATCH-1423:
------------------------------------------

kgiusti commented on pull request #580: DISPATCH-1423: restore original mcast 
credit replenish behavior
URL: https://github.com/apache/qpid-dispatch/pull/580
 
 
   Prior to DISPATCH-1266 credit was issued for multicast senders
   unconditionally.  DISPATCH-1266 changed this to only grant credit when
   subscribers were present.  This broke DISPATCH-779.
   
   This patch fixes this by issuing credit on multicast links regardless
   of the presence of subscribers.  Note well that unsettled mcast
   messages that are successfully forwarded do not have their credit
   replenished until after the receivers settle the message.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Multicast sender with no receiver has first 250 messages released
> -----------------------------------------------------------------
>
>                 Key: DISPATCH-1423
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1423
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.8.0
>            Reporter: Charles E. Rolke
>            Assignee: Ken Giusti
>            Priority: Major
>         Attachments: INTB-250-released-1.8.0.html, INTB.conf
>
>
> When a sender starts and there's no receiver already attached then the first 
> 250 messages the sender sends get released. After that the router waits for 
> the a receiver to attach before issuing more credit to the sender. The proton 
> c++ simple_send and simple receive clients expose this problem.
> 1. Start router with attached config file
> 2. Start sender
>     simple_send -a 127.0.0.1:5672/multicast/q1 -m 500
> 3. Start receiver
>    simple_recv -a 127.0.0.1:5672/multicast/q1 -m 500
> The sender competes with 'all messages confirmed'.
> The receiver is waiting for the second 250 messages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to