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:
Avinash Lakshman 2009-03-25 05:25:23 +00:00
parent 82f5b6072a
commit af47dc8476
1 changed files with 3 additions and 5 deletions

View File

@ -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