diff options
| author | Dan Engelbrecht <[email protected]> | 2022-12-16 10:37:43 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-16 01:37:43 -0800 |
| commit | c5a974fa97bc23861464a48f89c93851f9f0ab63 (patch) | |
| tree | b8d9d6d51873d6c4421faf9179cc53c82f5d3eb8 /zenserver/cache/structuredcachestore.h | |
| parent | oplog level GC (#209) (diff) | |
| download | zen-c5a974fa97bc23861464a48f89c93851f9f0ab63.tar.xz zen-c5a974fa97bc23861464a48f89c93851f9f0ab63.zip | |
Fix log index snapshot (#210)
* Fix log reading for structured cache store
Make sure cache is flushed at exit
* dont flush index to disk unless new entries have been written
* changelog
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
| -rw-r--r-- | zenserver/cache/structuredcachestore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h index d5cb536e5..e6b849c0a 100644 --- a/zenserver/cache/structuredcachestore.h +++ b/zenserver/cache/structuredcachestore.h @@ -261,6 +261,7 @@ private: // These files are used to manage storage of small objects for this bucket TCasLogFile<DiskIndexEntry> m_SlogFile; + uint64_t m_LogFlushPosition = 0; struct IndexEntry { |