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/structuredcache.cpp | |
| 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/structuredcache.cpp')
| -rw-r--r-- | zenserver/cache/structuredcache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp index a7571b4c4..d273bc88c 100644 --- a/zenserver/cache/structuredcache.cpp +++ b/zenserver/cache/structuredcache.cpp @@ -527,6 +527,7 @@ HttpStructuredCacheService::BaseUri() const void HttpStructuredCacheService::Flush() { + m_CacheStore.Flush(); } void |