You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jijo Varghese (JIRA)" <ji...@apache.org> on 2014/06/12 20:03:02 UTC

[jira] [Created] (CASSANDRA-7387) corrupt startup-commit-log causes hang on startup

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)