diff options
Diffstat (limited to 'src/zenstore/include')
| -rw-r--r-- | src/zenstore/include/zenstore/blockstore.h | 3 | ||||
| -rw-r--r-- | src/zenstore/include/zenstore/cidstore.h | 18 |
2 files changed, 12 insertions, 9 deletions
diff --git a/src/zenstore/include/zenstore/blockstore.h b/src/zenstore/include/zenstore/blockstore.h index a8bd44b9b..edd6df5a2 100644 --- a/src/zenstore/include/zenstore/blockstore.h +++ b/src/zenstore/include/zenstore/blockstore.h @@ -111,6 +111,9 @@ private: class BlockStore { public: + BlockStore(); + ~BlockStore(); + struct ReclaimSnapshotState { std::unordered_set<uint32_t> m_ActiveWriteBlocks; diff --git a/src/zenstore/include/zenstore/cidstore.h b/src/zenstore/include/zenstore/cidstore.h index 79f906307..38815ed15 100644 --- a/src/zenstore/include/zenstore/cidstore.h +++ b/src/zenstore/include/zenstore/cidstore.h @@ -21,14 +21,6 @@ class CompressedBuffer; class IoBuffer; class ScrubContext; -/** Content Store - * - * Data in the content store is referenced by content identifiers (CIDs), it works - * with compressed buffers so the CID is expected to be the RAW hash. It stores the - * chunk directly under the RAW hash. - * - */ - struct CidStoreSize { uint64_t TinySize = 0; @@ -49,7 +41,15 @@ struct CidStoreConfiguration uint64_t HugeValueThreshold = 1024 * 1024; }; -class CidStore +/** Content Store + * + * Data in the content store is referenced by content identifiers (CIDs), it works + * with compressed buffers so the CID is expected to be the RAW hash. It stores the + * chunk directly under the RAW hash. + * + */ + +class CidStore final : public ChunkResolver { public: CidStore(GcManager& Gc); |