[ https://issues.apache.org/jira/browse/CASSANDRA-7387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-7387. --------------------------------------- Resolution: Cannot Reproduce 1.2 HEAD does not have a problem skipping this file. > 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)