Switch destructor to use this. Add an sstable deletion function that is independent of the sstable class, and so can be used on different shards.
18 lines
222 B
C++
18 lines
222 B
C++
/*
|
|
* Copyright (C) 2015 Cloudius Systems, Ltd.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/sstring.hh>
|
|
#include <seastar/core/future.hh>
|
|
|
|
namespace sstables {
|
|
|
|
future<> remove_by_toc_name(sstring sstable_toc_name);
|
|
|
|
}
|
|
|
|
|