diff options
| author | Per Larsson <[email protected]> | 2021-12-13 19:46:36 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-12-13 19:46:36 +0100 |
| commit | 3e666bec6605931114c1d78d48bffeeb75e3e61b (patch) | |
| tree | c8db57d3f2f7f9d6947ad6a6f8ac0b38289e4f77 /zenstore/filecas.cpp | |
| parent | Fixed bug in z$ GC. (diff) | |
| download | zen-3e666bec6605931114c1d78d48bffeeb75e3e61b.tar.xz zen-3e666bec6605931114c1d78d48bffeeb75e3e61b.zip | |
Remove Cid to CAS chunk mapping after GC.
Diffstat (limited to 'zenstore/filecas.cpp')
| -rw-r--r-- | zenstore/filecas.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp index bfad34c86..2fc968a91 100644 --- a/zenstore/filecas.cpp +++ b/zenstore/filecas.cpp @@ -616,6 +616,8 @@ FileCasStrategy::CollectGarbage(GcContext& GcCtx) ZEN_WARN("failed to delete file for chunk {}: '{}'", Hash, Ec.message()); } } + + GcCtx.DeletedCas(ChunksToDelete); } ////////////////////////////////////////////////////////////////////////// |