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

AssertionError in PerDiskMemtableFlushWrite when comparing TimeUUIDType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • Cassandra 3.9
      Single DC
      6 Nodes
      RF 3
      OS: Ubuntu 16.04

    • Normal

    Description

      We are running 3.9 cluster with 6 nodes.
      During a long run we occasionally encounter an AssertionError on one or two of the nodes.
      ERROR [PerDiskMemtableFlushWriter_0:4] 2017-03-02 13:34:37,575 CassandraDaemon.java:226 - Exception in thread Thread[PerDiskMemtableFlushWriter_0:4,5,main]
      java.lang.AssertionError: null
              at org.apache.cassandra.db.marshal.TimeUUIDType.compareCustom(TimeUUIDType.java:65) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.db.marshal.AbstractType.compare(AbstractType.java:159) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.dht.LocalPartitioner$LocalToken.compareTo(LocalPartitioner.java:139) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.dht.LocalPartitioner$LocalToken.compareTo(LocalPartitioner.java:120) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:85) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.io.sstable.format.big.BigTableWriter.beforeAppend(BigTableWriter.java:121) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.io.sstable.format.big.BigTableWriter.append(BigTableWriter.java:161) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.io.sstable.SimpleSSTableMultiWriter.append(SimpleSSTableMultiWriter.java:48) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.db.Memtable$FlushRunnable.writeSortedContents(Memtable.java:458) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.db.Memtable$FlushRunnable.call(Memtable.java:493) ~[apache-cassandra-3.9.jar:3.9]
              at org.apache.cassandra.db.Memtable$FlushRunnable.call(Memtable.java:380) ~[apache-cassandra-3.9.jar:3.9]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_111]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_111]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              irit.loy.orion Irit Loy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: