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

system_drop_column_family hangs on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • Normal

    Description

      system_drop_column_family is hanging on trunk. The code used to replicate this is:

              CfDef cfDef = new CfDef(ks, "new_cf_2");
              client.system_add_column_family(cfDef);
              client.system_drop_column_family(cfDef.name);
      

      The call is hanging in ColumnFamilyStore.switchMemtable because the memtable flush is failing with

      1 ERROR [MemtableFlushWriter:2] 2015-07-28 11:59:26,688 CassandraDaemon.java (line 189) Exception in thread Thread[MemtableFlushWriter:2,5,FailOnTimeoutGroup]
      java.lang.AssertionError: null
      	at org.apache.cassandra.db.PartitionColumns$Builder.add(PartitionColumns.java:148) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at org.apache.cassandra.db.PartitionColumns$Builder.addAll(PartitionColumns.java:159) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at org.apache.cassandra.db.Memtable$ColumnsCollector.get(Memtable.java:507) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at org.apache.cassandra.db.Memtable$FlushRunnable.writeSortedContents(Memtable.java:373) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at org.apache.cassandra.db.Memtable$FlushRunnable.runMayThrow(Memtable.java:359) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297) ~[guava-16.0.1.jar:na]
      	at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1034) ~[cassandra-all-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_45]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_45]
      	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
      

      Attachments

        Issue Links

          Activity

            People

              blambov Branimir Lambov
              mike_tr_adamson Mike Adamson
              Branimir Lambov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: