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

Chuck Rolke commented on DISPATCH-1124:
---------------------------------------

If only a single receiver is attached to the green router then it will receive 
indefinitely. As soon as a second receiver is attached then the green router 
fails.

If the standard qpid-proton cpp simple-send example is the sender then it will 
receive indefinitely with one or two receivers. When simple-send is modified to 
send a 1443-byte text string then the green router fails.

The longer message wakes up the "message streaming" feature of dispatch 
qd_message_send. The multiple receivers wakes up the message fanout and shared 
message content features. This test exercises streaming, fanout, and shared 
content.

> Assert(buf) in qd_message_send; message copied locally and routed onward
> ------------------------------------------------------------------------
>
>                 Key: DISPATCH-1124
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1124
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.3.0
>         Environment: Fedora 27/28.
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>         Attachments: BLU.conf, COLLECTD.conf, GRN.conf
>
>
> {{Three routers connected in linear chain.}}
> {{Two systems connected with wireless lan.}}
> {{This does not fail as frequently with all routers on localhost.}}
> {{+-----------------+       +----------------+}}
> {{| System A        |       | System B       |}}
> {{| +-------+       |       | +----------+   |}}
> {{| | green +---------------->| blue     +-----> rcvr2}}
> {{| |       |       |       | +----------+   |}}
> {{| |       |       |       |                |}}
> {{| |       |       |       | +----------+   |}}
> {{| |       |<----------------+ collectd |<----- sndr}}
> {{| +---+---+       |       | +----------+   |}}
> {{+-----|-----------+       +----------------+}}
> {{      V}}
> {{    rcvr1}}
> {{System A:}}
> {{    green router}}
> {{        5672 - normal listener}}
> {{        20001 - inter-router listener}}
> {{System B:}}
> {{   blue router}}
> {{        5672 - normal listener}}
> {{        connector to green}}
> {{   collectd router}}
> {{        15672 - normal listener}}
> {{        connector to green}}
> {{Failing test:}}
> {{   Start receiver 1 on A:5672  (green)}}
> {{   Start receiver 2 on B:5672  (blue)}}
> {{   Start sender on     B:15672 (collectd)}}
> {{   Receivers have credit of 1000}}
> {{   Senders send 500-byte payloads. And plenty of 'em.}}
> {{Data path:}}
> {{   messages received on collectd forwarded to green}}
> {{   green receives interrouter; sends to local receiver, forwards to blue}}
> {{   blue receives interrouter; sends to local receiver}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to