mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-08 16:03:20 +00:00
table: Get rid of table::run_compaction helper
The table::run_compaction is a trivial wrapper for
table::compact_sstables.
We have lots of similar {start, trigger, run}_compaction functions.
Dropping the run_compaction wrapper to reduce confusion.
Closes #9161
This commit is contained in:
4
table.cc
4
table.cc
@@ -951,10 +951,6 @@ void table::do_trigger_compaction() {
|
||||
}
|
||||
}
|
||||
|
||||
future<> table::run_compaction(sstables::compaction_descriptor descriptor) {
|
||||
return compact_sstables(std::move(descriptor));
|
||||
}
|
||||
|
||||
void table::trigger_offstrategy_compaction() {
|
||||
// If the user calls trigger_offstrategy_compaction() to trigger
|
||||
// off-strategy explicitly, cancel the timeout based automatic trigger.
|
||||
|
||||
Reference in New Issue
Block a user