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

Link delivered counts are inaccurate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.9.0
    • 1.10.0
    • Router Node
    • None

    Description

      Create a two router network.

      Attach a sender to one of the routers.  The sender should transmit a message for every credit it is given.

      Attach a receiver to the other router.  grant 1 credit, accept a single message then close the connection (cleanly).

      Here's the resulting output of qdstat -l for the sender link after the receiver is done:

      type dir conn id id peer class addr phs cap pri undel unsett deliv presett psdrop acc rej rel mod delay rate

      endpoint in 3 50 mobile test-address 0 250 0 0 0 3476 0 0 1 0 3725 0 0 0 0 0 00:00:05

      That's 3476 deliv, 1 accepted, and 3725 released.

      These numbers do no make sense.  I would expect that the number delivered would == (accepted + released).  This is not the case as delivered == (accepted + released - CAPACITY)

      The trace log confirms that the tx sender has sent 3726 messages, 1 accepted the remaining released.

      (The reason for the large # of released is that the rx address removal (MAU) is not propagated to the sender router until after 3726 messages have been generated)

      Attachments

        Issue Links

          Activity

            People

              chug Charles E. Rolke
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: