Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2912

Server start exception before activation can cause a zombie broker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • Broker
    • None

    Description

      Run::execute:

      1. start a broker
      2. add several external components while starting them right after

      If the broker is getting started and, right before activating, throw an exception (eg on NodeManager::start), its process won't be stopped because the ActivationFailureListener won't get triggered.

      if the broker is getting started and, right before activating it, it throws an exception AND raise an I/O critical error (eg JdbcNodeManager:.start), a separate Thread would race to stop the broker external components while they are being added (and started): if some of these components are added AFTER the stop has completed or are started after being stopped, they would prevent the process to stop.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nigro.fra@gmail.com Francesco Nigro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m