aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-09-03 19:40:54 +0200
committerGitHub Enterprise <[email protected]>2024-09-03 19:40:54 +0200
commit3dfd38c8837c513cb3a5eff576cf3590046bd31e (patch)
treea3ab8d88738dcbeae5d709ccacfe15e1ed58b9ee /src/zenstore/include
parentmeta info store (#75) (diff)
downloadzen-3dfd38c8837c513cb3a5eff576cf3590046bd31e.tar.xz
zen-3dfd38c8837c513cb3a5eff576cf3590046bd31e.zip
oplog index snapshots (#140)
- Feature: Added project store oplog index snapshots for faster opening of oplog - opening oplogs are roughly 10x faster
Diffstat (limited to 'src/zenstore/include')
-rw-r--r--src/zenstore/include/zenstore/caslog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenstore/include/zenstore/caslog.h b/src/zenstore/include/zenstore/caslog.h
index d8c3f22f3..edb4f8d9b 100644
--- a/src/zenstore/include/zenstore/caslog.h
+++ b/src/zenstore/include/zenstore/caslog.h
@@ -26,8 +26,8 @@ public:
void Replay(std::function<void(const void*)>&& Handler, uint64_t SkipEntryCount);
void Flush();
void Close();
- uint64_t GetLogSize();
- uint64_t GetLogCount();
+ uint64_t GetLogSize() const;
+ uint64_t GetLogCount() const;
private:
struct FileHeader