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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.CR1
    • 1.0.0.GA, 1.1.0.CR3
    • Qpid Dispatch Router
    • None
    • Release Notes
    • 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.
    • Documented as Resolved Issue
    • Interconnect - June Sprint

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

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

              gmurthy@redhat.com Ganesh Murthy
              gmurthy@redhat.com Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: