Github user zznate commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/205#discussion_r173965848
  
    --- Diff: src/java/org/apache/cassandra/schema/Schema.java ---
    @@ -713,20 +727,24 @@ private void dropView(ViewMetadata metadata)
     
         private void dropTable(TableMetadata metadata)
         {
    -        ColumnFamilyStore cfs = 
Keyspace.open(metadata.keyspace).getColumnFamilyStore(metadata.name);
    -        assert cfs != null;
    -        // make sure all the indexes are dropped, or else.
    -        cfs.indexManager.markAllIndexesRemoved();
    -        
CompactionManager.instance.interruptCompactionFor(Collections.singleton(metadata),
 true);
    -        if (DatabaseDescriptor.isAutoSnapshot())
    -            
cfs.snapshot(Keyspace.getTimestampedSnapshotNameWithPrefix(cfs.name, 
ColumnFamilyStore.SNAPSHOT_DROP_PREFIX));
    -        
CommitLog.instance.forceRecycleAllSegments(Collections.singleton(metadata.id));
    --- End diff --
    
    I'll go back and look through comments, but _can_ i drop a VT? 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to