You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Eelco van Dijk (JIRA)" <ji...@apache.org> on 2014/06/13 15:26:01 UTC

[jira] [Created] (AMQ-5227) Scheduler db-*.log files not being deleted

Eelco van Dijk created AMQ-5227:
-----------------------------------

             Summary: Scheduler db-*.log files not being deleted
                 Key: AMQ-5227
                 URL: https://issues.apache.org/jira/browse/AMQ-5227
             Project: ActiveMQ
          Issue Type: Bug
          Components: Job Scheduler
    Affects Versions: 5.9.0
            Reporter: Eelco van Dijk
         Attachments: scheduleDB.zip

Many db log files are kept in the scheduler folder without references in the schedulerDb. It seems like the db log files are kept but should have been deleted.
The environment is configured with mysql message persistence and schedulersupport enabled.


Our folder structure is as follows:
first is: 
 db-13.log
and then a few other logs: 
 db-....log
last is:
 db-62.log
 scheduleDB.data
 scheduleDB.redo

Number of messages scheduled: 0.

I think there should only be one db.log file present is this case. Why are there so many db.log files present is the scheduler folder?
The remove method is called from the main schedule loop.
This remove method is called with a timestamp maybe some log files are skipped because of this. When i call the remove method manually all the skipped log files are deleted from the journal.


I've attached the scheduleDB as a zip.



--
This message was sent by Atlassian JIRA
(v6.2#6252)