You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2013/02/04 15:02:14 UTC

[jira] [Created] (APLO-293) Apollo should try to recover messages from a corrupted store

Lionel Cons created APLO-293:
--------------------------------

             Summary: Apollo should try to recover messages from a corrupted store
                 Key: APLO-293
                 URL: https://issues.apache.org/jira/browse/APLO-293
             Project: ActiveMQ Apollo
          Issue Type: Bug
         Environment: apollo-99-trunk-20130202.135855-180
            Reporter: Lionel Cons


Due to other bugs (mainly APLO-257 but not only), we sometimes have to kill Apollo the hard way as it would not stop gracefully.

This almost always leaves the LevelDB store corrupted. When (re)starting, we see messages like:

2013-02-03 12:47:13,099 | WARN  | DB operation failed. (entering recovery mode): org.iq80.leveldb.DBException: IO error: /var/lib/apollo/data/dirty.index/001869.sst: No such file or directory | 13c9fe18242

(see also APLO-282)

At this point Apollo hangs. The only solution is to kill it once more and completely destroy the message store, loosing all messages :-(

Could Apollo try to recover at least some messages in these situations instead of hanging during startup?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira