Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A21A5E0A8 for ; Mon, 4 Feb 2013 14:20:14 +0000 (UTC) Received: (qmail 59793 invoked by uid 500); 4 Feb 2013 14:20:14 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 59623 invoked by uid 500); 4 Feb 2013 14:20:14 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 59521 invoked by uid 99); 4 Feb 2013 14:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 14:20:12 +0000 Date: Mon, 4 Feb 2013 14:20:12 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APLO-293) Apollo should try to recover messages from a corrupted store MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570283#comment-13570283 ] Hiram Chirino commented on APLO-293: ------------------------------------ The latest snapshot build should now attempt and index repair if the first open of the index fails. > 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