mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
sstables: remove dead sstable method
Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <20171012072905.12737-1-raphaelsc@scylladb.com>
This commit is contained in:
committed by
Tomasz Grabiec
parent
16dd0d15fc
commit
25a4f152cd
@@ -2842,17 +2842,6 @@ sstable::get_sstable_key_range(const schema& s) {
|
||||
});
|
||||
}
|
||||
|
||||
future<std::vector<shard_id>>
|
||||
sstable::get_owning_shards_from_unloaded() {
|
||||
return when_all(read_summary(default_priority_class()), read_scylla_metadata(default_priority_class())).then(
|
||||
[this] (std::tuple<future<>, future<>> rets) {
|
||||
std::get<0>(rets).get();
|
||||
std::get<1>(rets).get();
|
||||
set_first_and_last_keys();
|
||||
return get_shards_for_this_sstable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
||||
@@ -716,8 +716,6 @@ public:
|
||||
future<range<partition_key>>
|
||||
get_sstable_key_range(const schema& s);
|
||||
|
||||
future<std::vector<shard_id>> get_owning_shards_from_unloaded();
|
||||
|
||||
const std::vector<nonwrapping_range<bytes_view>>& clustering_components_ranges() const;
|
||||
|
||||
// Gets ratio of droppable tombstone. A tombstone is considered droppable here
|
||||
|
||||
Reference in New Issue
Block a user