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

MessageDatabase doesn't properly cleanup the checkpoint scheduler on shutdown

    XMLWordPrintableJSON

    Details

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

      Description

      On KahaDB store close the checkpoint scheduler service is shutdown but it is not set to null. This is an issue because on startup of the store, the scheduler is checked for null and only started if it is null. Therefore, if a store was previously started and shutdown, when started again the thread would not re-start.

      This would not normally cause a problem for the usual use case as a store is typically only closed when the broker is shut down, however it is a good idea to fix it as this behavior could change in the future plus the start/stop methods are public on the store so it is possible to start/stop the store even though it isn't normally done.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cshannon Christopher L. Shannon
                Reporter:
                cshannon Christopher L. Shannon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: