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 676271123F for ; Thu, 12 Jun 2014 18:03:02 +0000 (UTC) Received: (qmail 37335 invoked by uid 500); 12 Jun 2014 18:03:02 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 37306 invoked by uid 500); 12 Jun 2014 18:03:02 -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 37293 invoked by uid 99); 12 Jun 2014 18:03:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 18:03:02 +0000 Date: Thu, 12 Jun 2014 18:03:02 +0000 (UTC) From: "Jijo Varghese (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-7387) corrupt startup-commit-log causes hang on startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jijo Varghese created CASSANDRA-7387: ---------------------------------------- Summary: corrupt startup-commit-log causes hang on startup Key: CASSANDRA-7387 URL: https://issues.apache.org/jira/browse/CASSANDRA-7387 Project: Cassandra Issue Type: Bug Reporter: Jijo Varghese Priority: Critical Attachments: db-1.log Using Cassandra 1.2.13.2 from dse-full-3.2.4-1.noarch Please see attached file db-1.log . Able to reproduce easily on any box with that file only. Strace shows infinite loop on this call. [pid 6936] open("/var/lib/cassandra/data/solr.data/mykeyspace.mycolumnfamily/dse-startup-commit-log.data/db-1.log", O_RDWR|O_CREAT, 0666) = 210 [pid 6936] fstat(210, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0 [pid 6936] fcntl(210, F_GETFD) = 0 [pid 6936] fcntl(210, F_SETFD, FD_CLOEXEC) = 0 [pid 6936] read(210, "J.IO", 4) = 4 [pid 6936] read(210, "\0", 1) = 1 [pid 6936] read(210, "\0", 1) = 1 [pid 6936] read(210, "\0", 1) = 1 [pid 6936] read(210, "\202", 1) = 1 [pid 6936] close(210) = 0 [pid 6936] lseek(209, 0, SEEK_CUR) = 8 [pid 6936] lseek(209, 0, SEEK_CUR) = 8 [pid 6936] lseek(209, 0, SEEK_END) = 8 [pid 6936] lseek(209, 8, SEEK_SET) = 8 [pid 6936] lseek(209, 8, SEEK_SET) = 8 [pid 6936] lseek(209, 0, SEEK_CUR) = 8 [pid 6936] lseek(209, 0, SEEK_END) = 8 [pid 6936] lseek(209, 8, SEEK_SET) = 8 ________ INFO [main] 2014-06-12 17:14:09,498 CassandraDaemon.java (line 119) Logging initialized ... INFO [SSTableBatchOpen:2] 2014-06-12 17:14:33,568 SSTableReader.java (line 232) Opening /var/lib/cassandra/data/mykeyspace/mycolumnfamily/mykeyspace-mycolumnfamily-ic-5 (2872 bytes) INFO [main] 2014-06-12 17:14:33,850 AutoSavingCache.java (line 140) reading saved cache /var/lib/cassandra/saved_caches/mykeyspace-mycolumnfamily-KeyCache-b.db INFO [main] 2014-06-12 17:14:44,124 AbstractSolrSecondaryIndex.java (line 180) Ensuring existence of index directory /var/lib/cassandra/data/solr.data/mykeyspace.mycolumnfamily INFO [main] 2014-06-12 17:14:44,125 AbstractSolrSecondaryIndex.java (line 186) Configuring index commit log for mykeyspace.mycolumnfamily -- This message was sent by Atlassian JIRA (v6.2#6252)