Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-1986

Detach not echoed back in multi-hop link route due to wrong session being closed


    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.GA, 1.1.0.CR3
    • Fix Version/s: 1.2.0.CR1
    • Component/s: Qpid Dispatch Router
    • Labels:
    • Target Release:
    • Sprint:
      Interconnect - June Sprint
    • Affects:
      Release Notes
    • Release Notes Text:
      Previously, link-routed links would sometimes fail to close completely under certain load conditions. This defect has been corrected, and routed-links now close cleanly and completely.
    • Release Notes Docs Status:
      Documented as Resolved Issue


      In a multi-hop link route involving 2 routers and a broker, the detaches fail to be forwarded by one router to another because of the wrong session being closed.

      Steps to reproduce

      To reproduce,
      (1) start two routers with simple-topic-a.conf and simple-topic-b.conf (attached)
      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)
      python simple_recv_modified.py -m 10 &
      python simple_recv_modified.py -m 10 &
      (4) run simple_send.py example from proton python
      python simple_send.py -m 10

      Sometimes only one of the receivers will exit. Sometimes both receivers dont exit. The receivers are waitingfor the detach frames to arrive from router A but they never do. If you enable PN_TRACE_FRM you can see that the detach is never received back from the router A.

        Gliffy Diagrams


          1. broker.xml
            9 kB
          2. simple_recv_modified.py
            2 kB
          3. simple-topic-a.conf
            0.4 kB
          4. simple-topic-b.conf
            0.6 kB

            Issue Links



                • Assignee:
                  ganeshmurthy Ganesh Murthy
                  ganeshmurthy Ganesh Murthy
                • Votes:
                  0 Vote for this issue
                  3 Start watching this issue


                  • Created: