aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-09-20 12:57:56 +0200
committerGitHub Enterprise <[email protected]>2024-09-20 12:57:56 +0200
commitc66d244eb7847ec907936a95195ef1f888fc87cd (patch)
tree6008cb25be0f51e34867589971160e2b5b6ff232 /src/zenstore/cache/structuredcachestore.cpp
parentEnd was clamped to the wrong side if Count was defaulted (diff)
downloadzen-c66d244eb7847ec907936a95195ef1f888fc87cd.tar.xz
zen-c66d244eb7847ec907936a95195ef1f888fc87cd.zip
unblock PreCache (#164)
Don't lock disk cache buckets from writing when scanning records for attachment references
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
-rw-r--r--src/zenstore/cache/structuredcachestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp
index c98561ebb..7794d025f 100644
--- a/src/zenstore/cache/structuredcachestore.cpp
+++ b/src/zenstore/cache/structuredcachestore.cpp
@@ -1183,7 +1183,7 @@ public:
for (ZenCacheDiskLayer::CacheBucket* Bucket : AddedBuckets)
{
- bool Continue = Bucket->GetReferencesLocked(Ctx, m_References);
+ bool Continue = Bucket->GetReferences(Ctx, /*StateIsAlreadyLocked*/ true, m_References);
if (!Continue)
{
break;