diff options
| author | Dan Engelbrecht <[email protected]> | 2023-10-23 10:47:49 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-23 10:47:49 +0200 |
| commit | 4b4229e3c3da530e3885ef666fea1c3200aa77de (patch) | |
| tree | 978ecae501777c2baf54951f7107afc6f45dd76c /src/zenstore/compactcas.cpp | |
| parent | Filter expired cache entries against ExpiredKeys - not CAS entries to retain ... (diff) | |
| download | zen-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.cpp | 2 |
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)) { |