summaryrefslogtreecommitdiff
path: root/util/sst_file_manager_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/sst_file_manager_impl.h')
-rw-r--r--util/sst_file_manager_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/sst_file_manager_impl.h b/util/sst_file_manager_impl.h
index 8c8015310..d11035df8 100644
--- a/util/sst_file_manager_impl.h
+++ b/util/sst_file_manager_impl.h
@@ -121,6 +121,10 @@ class SstFileManagerImpl : public SstFileManager {
DeleteScheduler* delete_scheduler() { return &delete_scheduler_; }
+ // Stop the error recovery background thread. This should be called only
+ // once in the object's lifetime, and before the destructor
+ void Close();
+
private:
// REQUIRES: mutex locked
void OnAddFileImpl(const std::string& file_path, uint64_t file_size,