diff options
Diffstat (limited to 'src/kv/RocksDBStore.h')
-rw-r--r-- | src/kv/RocksDBStore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kv/RocksDBStore.h b/src/kv/RocksDBStore.h index a8468a25d4d..477b209854c 100644 --- a/src/kv/RocksDBStore.h +++ b/src/kv/RocksDBStore.h @@ -299,6 +299,12 @@ public: const std::string &k, const ceph::bufferlist &to_set_bl); public: + size_t get_count() const override { + return bat.Count(); + } + size_t get_size_bytes() const override { + return bat.GetDataSize(); + } void set( const std::string &prefix, const std::string &k, |