Qpid
  1. Qpid
  2. QPID-4275

Java Performance Tests - race condition between closing test consumer and test connection

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19
    • Component/s: Java Performance Tests
    • Labels:
      None

      Description

      In the new performance test framework, the ParticipantExecutor does these two things at the end when the participant has completed:

      1. Send the results
      2. Tell the participant to release its resources.

      When this is done in the order listed, the client may receive a TEAR_DOWN_TEST command, which causes the connection to be closed, while it is inside releseResources(). This provokes the client deadlock reported in QPID-4276.

        Issue Links

          Activity

          Keith Wall made changes -
          Status Ready To Review [ 10006 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Keith Wall made changes -
          Status In Progress [ 3 ] Ready To Review [ 10006 ]
          Philip Harvey made changes -
          Link This issue relates to QPID-4276 [ QPID-4276 ]
          Philip Harvey made changes -
          Description In the new performance test framework, the ParticipantExecutor does these two things at the end when the participant has completed:

          # Send the results
          # Tell the participant to release its resources.

          When this is done in the order listed, the client may receive a TEAR_DOWN_TEST command, which causes the connection to be closed, while it is inside releseResources(). This provokes the client deadlock reported in QPID-TODO.
          In the new performance test framework, the ParticipantExecutor does these two things at the end when the participant has completed:

          # Send the results
          # Tell the participant to release its resources.

          When this is done in the order listed, the client may receive a TEAR_DOWN_TEST command, which causes the connection to be closed, while it is inside releseResources(). This provokes the client deadlock reported in QPID-4276.
          Philip Harvey made changes -
          Assignee Philip Harvey [ philharveyonline ] Keith Wall [ k-wall ]
          Philip Harvey made changes -
          Philip Harvey made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Philip Harvey made changes -
          Field Original Value New Value
          Assignee Philip Harvey [ philharveyonline ]
          Philip Harvey created issue -

            People

            • Assignee:
              Keith Wall
              Reporter:
              Philip Harvey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development