diff --git a/sstables/compaction_manager.cc b/sstables/compaction_manager.cc index 278e0d4cda..ac87e145d4 100644 --- a/sstables/compaction_manager.cc +++ b/sstables/compaction_manager.cc @@ -708,7 +708,7 @@ future<> compaction_manager::rewrite_sstables(column_family* cf, sstables::compa return task->compaction_done.get_future().then([task] {}); } -static bool needs_cleanup(const sstables::shared_sstable& sst, +bool needs_cleanup(const sstables::shared_sstable& sst, const dht::token_range_vector& owned_ranges, schema_ptr s) { auto first = sst->get_first_partition_key(); diff --git a/sstables/compaction_manager.hh b/sstables/compaction_manager.hh index bbd3b0e728..c413c41410 100644 --- a/sstables/compaction_manager.hh +++ b/sstables/compaction_manager.hh @@ -271,3 +271,5 @@ public: friend class compaction_weight_registration; }; +bool needs_cleanup(const sstables::shared_sstable& sst, const dht::token_range_vector& owned_ranges, schema_ptr s); +