/** * executes the task and unmarks sstables compacting */ public int execute(CompactionExecutorStatsCollector collector) { try { return executeInternal(collector); } finally { cfs.getDataTracker().unmarkCompacting(sstables); } }
/** * executes the task and unmarks sstables compacting */ public int execute(CompactionExecutorStatsCollector collector) { try { return executeInternal(collector); } catch(FSDiskFullWriteError e) { RuntimeException cause = new RuntimeException("Converted from FSDiskFullWriteError: " + e.getMessage()); cause.setStackTrace(e.getStackTrace()); throw new RuntimeException("Throwing new Runtime to bypass exception handler when disk is full", cause); } finally { transaction.close(); } } public abstract CompactionAwareWriter getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables);
/** * executes the task and unmarks sstables compacting */ public int execute(CompactionExecutorStatsCollector collector) { try { return executeInternal(collector); } catch(FSDiskFullWriteError e) { RuntimeException cause = new RuntimeException("Converted from FSDiskFullWriteError: " + e.getMessage()); cause.setStackTrace(e.getStackTrace()); throw new RuntimeException("Throwing new Runtime to bypass exception handler when disk is full", cause); } finally { transaction.close(); } } public abstract CompactionAwareWriter getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables);
/** * executes the task and unmarks sstables compacting */ public int execute(CompactionExecutorStatsCollector collector) { try { return executeInternal(collector); } catch(FSDiskFullWriteError e) { RuntimeException cause = new RuntimeException("Converted from FSDiskFullWriteError: " + e.getMessage()); cause.setStackTrace(e.getStackTrace()); throw new RuntimeException("Throwing new Runtime to bypass exception handler when disk is full", cause); } finally { transaction.close(); } } public abstract CompactionAwareWriter getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables);