From f9aa50dcbf3d9c2476c5431ec7fdbe5d9d06b6bc Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 28 Jun 2020 17:27:22 +0300 Subject: [PATCH] test: sstables test_env: introduce manager() accessor This returns the sstables_manager carried by the test_env. We will soon retire the global test_sstables_manager, so we need to provide access to one. --- sstables/sstables.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sstables/sstables.hh b/sstables/sstables.hh index 49a128205c..6640214e30 100644 --- a/sstables/sstables.hh +++ b/sstables/sstables.hh @@ -555,6 +555,8 @@ private: public: const bool has_component(component_type f) const; + sstables_manager& manager() { return _manager; } + const sstables_manager& manager() const { return _manager; } private: future open_file(component_type, open_flags, file_open_options = {}) noexcept;