sstables: Remove unused method

This commit is contained in:
Tomasz Grabiec
2017-02-28 09:27:36 +01:00
parent a7301a702f
commit 705bd6da1a
2 changed files with 0 additions and 10 deletions

View File

@@ -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.

View File

@@ -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);