return CompactionManager.instance.submitUserDefined(cfs, descriptors, Integer.MAX_VALUE);
}
public static void compact(ColumnFamilyStore cfs, Collection<SSTableReader> sstables, boolean forceDeserialize) throws IOException
{
CompactionTask task = new CompactionTask(cfs, sstables, (int) (System.currentTimeMillis() / 1000) - cfs.metadata.getGcGraceSeconds());
task.isUserDefined(forceDeserialize).compactionFileLocation(cfs.table.getDataFileLocation(1));
task.execute(null);
}