Qpid
  1. Qpid
  2. QPID-4576

qpid-receive does not commit ready address message

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.21
    • Component/s: C++ Client
    • Labels:

      Description

      Description of problem:
      Running qpid-benchmark with --receive-arg=--tx=10 option leads to timeout (see below for details). The reason is that qpid-receive does not commit its session after sending a message to ready address (see --ready-address option).

      Version-Release number of selected component (if applicable):
      Any (also in upstream qpid 0.20)

      How reproducible:
      100%

      Steps to Reproduce:
      ./qpid-benchmark --receive-arg=--tx=10

      Actual results:
      Traceback (most recent call last):
      File "./qpid-benchmark", line 330, in <module>
      if _name_ == "_main_": main()
      File "./qpid-benchmark", line 316, in main
      ready_receiver.wait(filter(None, receivers)) # Wait for receivers to be ready.
      File "./qpid-benchmark", line 269, in wait
      raise Exception("Timed out waiting for receivers to be ready")
      Exception: Timed out waiting for receivers to be ready

      Expected results:
      No exception, proper run.

      Additional info:
      Patch proposed.

      1. QPID-4576.patch
        0.7 kB
        Pavel Moravec

        Activity

        Hide
        Gordon Sim added a comment -
        Show
        Gordon Sim added a comment - Patch applied as http://svn.apache.org/viewvc?view=revision&revision=1455549 ; thanks Pavel!
        Hide
        Pavel Moravec added a comment -

        Trivial patch.

        Show
        Pavel Moravec added a comment - Trivial patch.

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Pavel Moravec
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development