aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-10-23 10:47:49 +0200
committerGitHub <[email protected]>2023-10-23 10:47:49 +0200
commit4b4229e3c3da530e3885ef666fea1c3200aa77de (patch)
tree978ecae501777c2baf54951f7107afc6f45dd76c /src/zenstore/compactcas.cpp
parentFilter expired cache entries against ExpiredKeys - not CAS entries to retain ... (diff)
downloadzen-4b4229e3c3da530e3885ef666fea1c3200aa77de.tar.xz
zen-4b4229e3c3da530e3885ef666fea1c3200aa77de.zip
Remove any unreferenced blocks in block store on open (#492)
* Remove any unreferenced blocks in block store on open
Diffstat (limited to 'src/zenstore/compactcas.cpp')
-rw-r--r--src/zenstore/compactcas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp
index 0468e95de..115bdcf03 100644
--- a/src/zenstore/compactcas.cpp
+++ b/src/zenstore/compactcas.cpp
@@ -845,7 +845,7 @@ CasContainerStrategy::OpenContainer(bool IsNewStore)
KnownLocations.emplace_back(std::move(BlockLocation));
}
- m_BlockStore.CreateMissingBlocks(KnownLocations);
+ m_BlockStore.SyncExistingBlocksOnDisk(KnownLocations);
if (IsNewStore || (LogEntryCount > 0))
{