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

MessageDatabase doesn't properly cleanup the checkpoint scheduler on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.13.3
    • 5.13.4, 5.14.0
    • Broker, KahaDB
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: