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

Deliveries settled out of order in simple test case

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Component/s: Router Node
    • Labels:
      None
    • Environment:

      Fedora 29, Python 3
      Debug builds
      Proton git: branch master @ 0481a507c
      Dispatch git: branch master @ 7b3a8e25

      Description

      1. A router is started with a simple

      qdrouterd

      2. A single qpid-proton-c sender sends 100,000 messages to port 5672
      3. A simple qpid-proton-c receiver receives the messages and accepts them.
      4. In the sender's on_accept method occasionally the message IDs appear out of order.

      In this snippet the message id numbers are marching along in the correct order. Then settlements 77441..77459 jump ahead of settlement 77430. After that the streams get synchronized again and match for the remainder of the run.

      This is not necessarily wrong from an AMQP standpoint. But one might expect that the settlements would propagate from the receiver back to the sender in order every time.

      Can anyone explain how this happens?

      Fail to match message id 77430 with settlement id 77441
      Fail to match message id 77431 with settlement id 77442
      Fail to match message id 77432 with settlement id 77443
      Fail to match message id 77433 with settlement id 77444
      Fail to match message id 77434 with settlement id 77445
      Fail to match message id 77435 with settlement id 77446
      Fail to match message id 77436 with settlement id 77447
      Fail to match message id 77437 with settlement id 77448
      Fail to match message id 77438 with settlement id 77449
      Fail to match message id 77439 with settlement id 77450
      Fail to match message id 77440 with settlement id 77451
      Fail to match message id 77441 with settlement id 77452
      Fail to match message id 77442 with settlement id 77453
      Fail to match message id 77443 with settlement id 77454
      Fail to match message id 77444 with settlement id 77455
      Fail to match message id 77445 with settlement id 77456
      Fail to match message id 77446 with settlement id 77457
      Fail to match message id 77447 with settlement id 77458
      Fail to match message id 77448 with settlement id 77459
      Fail to match message id 77449 with settlement id 77430
      Fail to match message id 77450 with settlement id 77431
      Fail to match message id 77451 with settlement id 77432
      Fail to match message id 77452 with settlement id 77433
      Fail to match message id 77453 with settlement id 77434
      Fail to match message id 77454 with settlement id 77435
      Fail to match message id 77455 with settlement id 77436
      Fail to match message id 77456 with settlement id 77437
      Fail to match message id 77457 with settlement id 77438
      Fail to match message id 77458 with settlement id 77439
      Fail to match message id 77459 with settlement id 77440
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: