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

Counter mutation serialization bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 3.0 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical

      Description

      reproduced in dtest super_counter_test:TestSuperCounterClusterRestart.functional_test_2

      - Unexpected error deserializing mutation; saved to /tmp/mutation181379301016027337dat and ignored.  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: Expected 8 or 0 byte long (36) \tat org.apache.cassandra.serializers.LongSerializer.validate(LongSerializer.java:42) ~[main/:na] \tat org.apache.cassandra.db.marshal.AbstractType.validate(AbstractType.java:122) ~[main/:na] \tat org.apache.cassandra.db.marshal.CollectionType.validateCellValue(CollectionType.java:130) ~[main/:na] \tat org.apache.cassandra.config.ColumnDefinition.validateCellValue(ColumnDefinition.java:444) ~[main/:na] \tat org.apache.cassandra.db.rows.AbstractCell.validate(AbstractCell.java:56) ~[main/:na] \tat org.apache.cassandra.db.rows.ComplexColumnData.validate(ComplexColumnData.java:125) ~[main/:na] \tat org.apache.cassandra.db.partitions.PartitionUpdate.validate(PartitionUpdate.java:518) ~[main/:na] \tat org.apache.cassandra.db.commitlog.CommitLogReplayer.replayMutation(CommitLogReplayer.java:485) [main/:na] \tat org.apache.cassandra.db.commitlog.CommitLogReplayer.replaySyncSection(CommitLogReplayer.java:465) [main/:na] \tat org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:371) [main/:na] \tat org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:146) [main/:na] \tat org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:181) [main/:na] \tat org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:161) [main/:na] \tat org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:272) [main/:na] \tat org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:512) [main/:na] \tat org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:618) [main/:na] ERROR [main] 2015-08-12 17:36:38,247 CommitLogReplayer.java:513
      

        Attachments

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              tjake T Jake Luciani
              Authors:
              Sylvain Lebresne
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: