[
https://issues.apache.org/jira/browse/DISPATCH-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944604#comment-16944604
]
ASF subversion and git services commented on DISPATCH-1423:
-----------------------------------------------------------
Commit 366c6e61a299a6a672b6ea81974d96f465499e71 in qpid-dispatch's branch
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=366c6e6 ]
DISPATCH-1423: restore original mcast credit replenish behavior
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 closes #580
> 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]