Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1213

Sender link sending pre-settled multi-frame deliveries can stall if receiver drops

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.5.0
    • Component/s: Container
    • Labels:
      None

      Description

      Steps to reproduce -

      1. Start the router
      2.  Start a receiver and receive 10 messages.
        python simple_recv.py --address 0.0.0.0/examples -m10
      1. Send 200 large presettled messages
        python big_send_settled.py --address 0.0.0.0/examples -m200
      1. Look at the output of qdstat -g
        [gmurthy@localhost ~]$ qdstat -g
        Router Statistics
          attr                             value
          =============================================================
          Version                          1.5.0-SNAPSHOT
          Mode                             standalone
          Router Id                        Standalone_lPF38hMqjGI_iAO
          Area                             0
          Link Routes                      0
          Auto Links                       0
          Links                            3
          Nodes                            0
          Addresses                        5
          Connections                      2
          Presettled Count                 17
          Dropped Presettled Count         2
          Accepted Count                   1
          Rejected Count                   0
          Released Count                   0
          Modified Count                   0
          Ingress Count                    19
          Egress Count                     17
          Transit Count                    0
          Deliveries from Route Container  0
          Deliveries to Route Container    0
        

        The Ingress Count should be more than 200. We had all the credit we need to send 200 messages.

      2. The messages are stuck inside the proton buffer. The router stopped fetching the messages from the proton buffer as soon as the q2_holdoff limit was hit.

        Attachments

          Activity

            People

            • Assignee:
              gmurthy Ganesh Murthy
              Reporter:
              gmurthy Ganesh Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m