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

Cancelling index build throws assert error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.1
    • None
    • Low

    Description

      Canceling index build throws this, but checking log there was no compaction running in background.

      INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
      s, 1 ops)
      ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]

      java.lang.AssertionError
      at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
      (SecondaryIndexManager.java:397)
      at org.apache.cassandra.db.Table.indexRow(Table.java:534)
      at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
      dexBuilder.java:64)
      at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
      Manager.java:856)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
      1)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
      at java.lang.Thread.run(Thread.java:662)
      INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
      -1-Data.db (88 bytes)

      Attachments

        1. 3313.txt
          2 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            hsn Radim Kolar
            Jonathan Ellis
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: