Transaction(ColumnFamilyStore cfs, LogTransaction txnLogs) throws IOException { this.cfs = cfs; this.txnLogs = txnLogs; this.dataFolder = new Directories(cfs.metadata).getDirectoryForNewSSTables(); this.sstableOld = sstable(dataFolder, cfs, 0, 128); this.sstableNew = sstable(dataFolder, cfs, 1, 128); assertNotNull(txnLogs); assertNotNull(txnLogs.id()); Assert.assertEquals(OperationType.COMPACTION, txnLogs.type()); txnLogs.trackNew(sstableNew); tidier = txnLogs.obsoleted(sstableOld); assertNotNull(tidier); }