You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2016/05/09 19:03:12 UTC

[jira] [Created] (AMQ-6285) MessageDatabase doesn't properly cleanup the checkpoint scheduler on shutdown

Christopher L. Shannon created AMQ-6285:
-------------------------------------------

             Summary: MessageDatabase doesn't properly cleanup the checkpoint scheduler on shutdown
                 Key: AMQ-6285
                 URL: https://issues.apache.org/jira/browse/AMQ-6285
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, KahaDB
    Affects Versions: 5.13.3
            Reporter: Christopher L. Shannon
            Assignee: Christopher L. Shannon
            Priority: Minor


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.

 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)