aboutsummaryrefslogtreecommitdiff
path: root/zenstore/compactcas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore/compactcas.cpp')
-rw-r--r--zenstore/compactcas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index d5987c11e..cc2657ddb 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -421,7 +421,7 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx)
if (m_CurrentInsertOffset == LastChunkNextChunkOffset)
{
- m_CurrentInsertOffset = WriteOffset;
+ m_CurrentInsertOffset = LastChunkLocation.GetOffset();
}
}