mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 22:13:19 +00:00
sstables: Remove unused method
This commit is contained in:
@@ -2594,11 +2594,6 @@ sstable::get_owning_shards_from_unloaded() {
|
||||
});
|
||||
}
|
||||
|
||||
void sstable::mark_sstable_for_deletion(const schema_ptr& schema, sstring dir, int64_t generation, version_types v, format_types f) {
|
||||
auto sst = sstable(schema, dir, generation, v, f);
|
||||
sst.mark_for_deletion();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a pair of positions [p1, p2) in the summary file corresponding to entries
|
||||
* covered by the specified range, or a disengaged optional if no such pair exists.
|
||||
|
||||
@@ -708,11 +708,6 @@ public:
|
||||
|
||||
const std::vector<nonwrapping_range<bytes_view>>& clustering_components_ranges() const;
|
||||
|
||||
// Used to mark a sstable for deletion that is not relevant to the current shard.
|
||||
// It doesn't mean that the sstable will be deleted, but that the sstable is not
|
||||
// relevant to the current shard, thus can be deleted by the deletion manager.
|
||||
static void mark_sstable_for_deletion(const schema_ptr& schema, sstring dir, int64_t generation, version_types v, format_types f);
|
||||
|
||||
// returns all info needed for a sstable to be shared with other shards.
|
||||
static future<sstable_open_info> load_shared_components(const schema_ptr& s, sstring dir, int generation, version_types v, format_types f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user