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

Gordon Sim commented on DISPATCH-927:
-------------------------------------

So far I have only been able to reproduce with the activemq artemis broker. 
However I suspect this is just a timing issue. The broker does appear to be 
behaving correctly.

To reproduce,
 (1) start two routers with simple-topic-a.conf and simple-topic-b.conf
      e.g. 
     qdrouterd --conf  simple-topic-a.conf
     qdrouterd --conf  simple-topic-b.conf  
 (2) start artemis broker on port 5673 with examples topic configure (e.g. see 
broker,xml attached)
 (3) run two instances of the modified simple_recv example as attached (the 
change is that the client waits for the detach to be echoed back before exiting)
    e.g.
    python simple_recv_modified.py -m 10 &
    python simple_recv_modified.py -m 10 &
 (4) run simple_send.py example from proton python
    e.g.
    python simple_send.py -m 10

Sometimes only one of the receivers will exit. If you enable PN_TRACE_FRM you 
can see that the detach is never received back from the router.

> detach not echoed back on multi-hop link route
> ----------------------------------------------
>
>                 Key: DISPATCH-927
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-927
>             Project: Qpid Dispatch
>          Issue Type: Bug
>            Reporter: Gordon Sim
>            Priority: Major
>         Attachments: broker.xml, simple-topic-a.conf, simple-topic-b.conf, 
> simple_recv_modified.py
>
>
> In a two router network, router-a and router-b, a link route is defined in 
> both directions on both routers. There is also an associated connector to a 
> broker on router-b. The address is configured to be a topic on the broker.
> If two receivers attach on this address to router-a, and then detach at the 
> same time having received the defined number of messages, frequently (but not 
> always), one of the receivers will not get a detach echoed back to it.
> On inspection of protocol traces, it appears that router-b, though it gets 
> the detach echoed back from the broker, does not forward this back to the 
> client (via router-a).



--
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