Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6086

Broker stop and start are not at all thread safe - we can do better

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.13.0
    • Fix Version/s: 5.13.1, 5.14.0
    • Component/s: Broker
    • Labels:
      None

      Description

      If one thread starts a broker and a second tries to stop we can get in a mess. Particularly if there is blocking or locking in the mix. In some cases we are ok but there is no determinism.
      In a simple case, the stop can complete before the start gets going at all and we miss the stop, leaving a dangling broker.

        Attachments

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              gtully Gary Tully
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: