mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 21:47:10 +00:00
compaction: remove dead code
This code has no more users. Bury it. Signed-off-by: Glauber Costa <glauber@scylladb.com> Message-Id: <20170908005305.29925-1-glauber@scylladb.com>
This commit is contained in:
committed by
Tomasz Grabiec
parent
57dc988475
commit
db846326f8
@@ -69,23 +69,6 @@ namespace sstables {
|
||||
|
||||
logging::logger clogger("compaction");
|
||||
|
||||
class sstable_reader final : public ::mutation_reader::impl {
|
||||
shared_sstable _sst;
|
||||
mutation_reader _reader;
|
||||
public:
|
||||
sstable_reader(shared_sstable sst, schema_ptr schema)
|
||||
: _sst(std::move(sst))
|
||||
, _reader(_sst->read_rows(schema, service::get_local_compaction_priority()))
|
||||
{}
|
||||
virtual future<streamed_mutation_opt> operator()() override {
|
||||
return _reader.read().handle_exception([sst = _sst] (auto ep) {
|
||||
clogger.error("Compaction found an exception when reading sstable {} : {}",
|
||||
sst->get_filename(), ep);
|
||||
return make_exception_future<streamed_mutation_opt>(ep);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
static api::timestamp_type get_max_purgeable_timestamp(const column_family& cf, sstable_set::incremental_selector& selector,
|
||||
const std::unordered_set<shared_sstable>& compacting_set, const dht::decorated_key& dk) {
|
||||
auto timestamp = api::max_timestamp;
|
||||
|
||||
Reference in New Issue
Block a user