aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-10-01 23:19:42 +0200
committerDan Engelbrecht <[email protected]>2024-10-01 23:19:42 +0200
commite68929ebb80acc1ed2a1bd4544b26c2e7cc55641 (patch)
treebee6c3fb32cd375a5c86aaecbe981939b4a242db /src/zenstore/compactcas.cpp
parent5.5.8-pre6 (diff)
downloadzen-de/no-mmap-for-attachment-meta-files.tar.xz
zen-de/no-mmap-for-attachment-meta-files.zip
don't use mmap when reading attachment meta filesde/no-mmap-for-attachment-meta-files
Diffstat (limited to 'src/zenstore/compactcas.cpp')
-rw-r--r--src/zenstore/compactcas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp
index 5fca3046c..3485b87cf 100644
--- a/src/zenstore/compactcas.cpp
+++ b/src/zenstore/compactcas.cpp
@@ -714,6 +714,7 @@ public:
if (Ctx.Settings.CollectSmallObjects)
{
BlockStore::BlockUsageMap BlockUsage;
+ BlockUsage.reserve(m_CasContainerStrategy.m_BlockStore.GetBlockCount());
{
RwLock::SharedLockScope __(m_CasContainerStrategy.m_LocationMapLock);
if (Ctx.IsCancelledFlag.load())