Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-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 EA4E110321 for ; Tue, 19 Nov 2013 17:17:32 +0000 (UTC) Received: (qmail 27235 invoked by uid 500); 19 Nov 2013 17:17:29 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 27106 invoked by uid 500); 19 Nov 2013 17:17:28 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 26808 invoked by uid 99); 19 Nov 2013 17:17:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 17:17:27 +0000 Date: Tue, 19 Nov 2013 17:17:27 +0000 (UTC) From: "Yuki Morishita (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-6086) Node refuses to start with exception in ColumnFamilyStore.removeUnfinishedCompactionLeftovers when find that some to be removed files are already removed 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/CASSANDRA-6086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826686#comment-13826686 ] Yuki Morishita edited comment on CASSANDRA-6086 at 11/19/13 5:17 PM: --------------------------------------------------------------------- Rebased patch against cassandra-2.0 attached. Again, the patch changes log ERROR and stop starting C* to print WARN but prevent deleting SSTable if its ancestors are already missing. was (Author: yukim): Rebased patch against cassandra-2.0 attached. > Node refuses to start with exception in ColumnFamilyStore.removeUnfinishedCompactionLeftovers when find that some to be removed files are already removed > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-6086 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6086 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Oleg Anastasyev > Assignee: Oleg Anastasyev > Fix For: 2.0.3 > > Attachments: 6086-v2.txt, removeUnfinishedCompactionLeftovers.txt > > > Node refuses to start with > {code} > Caused by: java.lang.IllegalStateException: Unfinished compactions reference missing sstables. This should never happen since compactions are marked finished before we start removing the old sstables. > at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:544) > at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:262) > {code} > IMO, there is no reason to refuse to start discivering files that must be removed are already removed. It looks like pure bug diagnostic code and mean nothing to operator (nor he can do anything about this). > Replaced throw of excepion with dump of diagnostic warning and continue startup. -- This message was sent by Atlassian JIRA (v6.1#6144)