Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B11810E42 for ; Thu, 28 Nov 2013 21:12:36 +0000 (UTC) Received: (qmail 8773 invoked by uid 500); 28 Nov 2013 21:12:36 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 8648 invoked by uid 500); 28 Nov 2013 21:12:35 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 8640 invoked by uid 99); 28 Nov 2013 21:12:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Nov 2013 21:12:35 +0000 Date: Thu, 28 Nov 2013 21:12:35 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-4907) kahadb - do some sanity check on the index when checkForCorruptJournalFiles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gary Tully created AMQ-4907: ------------------------------- Summary: kahadb - do some sanity check on the index when checkForCorruptJournalFiles Key: AMQ-4907 URL: https://issues.apache.org/jira/browse/AMQ-4907 Project: ActiveMQ Issue Type: Bug Components: Message Store Affects Versions: 5.9.0 Reporter: Gary Tully Assignee: Gary Tully Fix For: 5.10.0 When the index is corrupt all bets are off and we need to replay the journal to rebuild the index. We do this automatically on a failure to load the index. When the index loads and is still corrupt, we can resume and messages are unavailable. Adding some sanity checking to the index, when checkForCorruptJournalFiles is enabled (paranoid mode) will allow us to detect corruption and force an auto recreation. -- This message was sent by Atlassian JIRA (v6.1#6144)