mirror of https://github.com/apache/cassandra
Fix the problem in CASSANDRA-9 JIRA
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758143 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82f5b6072a
commit
af47dc8476
|
|
@ -262,7 +262,7 @@ public class Memtable implements MemtableMBean, Comparable<Memtable>
|
|||
/* Submit this Memtable to be flushed. */
|
||||
Runnable flusher = new Flusher(cLogCtx);
|
||||
apartments_.get(cfName_).submit(flusher);
|
||||
// MemtableManager.instance().submit(cfStore.getColumnFamilyName(), this, cLogCtx);
|
||||
/* switch the memtable */
|
||||
cfStore.switchMemtable(key, columnFamily, cLogCtx);
|
||||
}
|
||||
else
|
||||
|
|
@ -464,8 +464,6 @@ public class Memtable implements MemtableMBean, Comparable<Memtable>
|
|||
flushForRandomPartitioner(ssTable, cfStore, cLogCtx);
|
||||
break;
|
||||
}
|
||||
|
||||
columnFamilies_.clear();
|
||||
}
|
||||
|
||||
private void flushForRandomPartitioner(SSTable ssTable, ColumnFamilyStore cfStore, CommitLog.CommitLogContext cLogCtx) throws IOException
|
||||
|
|
|
|||
Loading…
Reference in New Issue