Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11632

Commitlog corruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • Cassandra 3.6 SNAPSHOT

    • Normal
    • 3.6

    Description

      INFO  10:00:08 Replaying /Users/archinnovinfo/perso/cassandra/data/commitlog/CommitLog-6-1461260041762.log, /Users/archinnovinfo/perso/cassandra/data/commitlog/CommitLog-6-1461260041763.log
      ERROR 10:00:08 Exiting due to error while processing commit log during initialization.
      org.apache.cassandra.db.commitlog.CommitLogReplayer$CommitLogReplayException: Unexpected error deserializing mutation; saved to /var/folders/9s/gkchxg6x7qb0vh0k6_cmdl540000gn/T/mutation916280897052665587dat.  This may be caused by replaying a mutation against a table with the same name but incompatible schema.  Exception follows: org.apache.cassandra.serializers.MarshalException: Not enough bytes to read 0th field java.nio.HeapByteBuffer[pos=0 lim=6 cap=6]
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.handleReplayError(CommitLogReplayer.java:611) [main/:na]
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replayMutation(CommitLogReplayer.java:568) [main/:na]
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replaySyncSection(CommitLogReplayer.java:521) [main/:na]
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:407) [main/:na]
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:236) [main/:na]
      	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:193) [main/:na]
      	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:173) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:292) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:558) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:687) [main/:na]
      

      I'm using the 3.6_SNAPSHOT at ae063e8 JSON datetime formatting needs timezone

      The commilog files are downloadable here:
      https://drive.google.com/file/d/0B6wR2aj4Cb6wUXpZc1dQcmZvb1U/view?usp=sharing

      Attachments

        Activity

          People

            Unassigned Unassigned
            doanduyhai DuyHai Doan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: