diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-20 12:57:56 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-20 12:57:56 +0200 |
| commit | c66d244eb7847ec907936a95195ef1f888fc87cd (patch) | |
| tree | 6008cb25be0f51e34867589971160e2b5b6ff232 /src/zenstore/include | |
| parent | End was clamped to the wrong side if Count was defaulted (diff) | |
| download | zen-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/include')
| -rw-r--r-- | src/zenstore/include/zenstore/cache/cachedisklayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/include/zenstore/cache/cachedisklayer.h b/src/zenstore/include/zenstore/cache/cachedisklayer.h index b0b8b4cf3..a735893a1 100644 --- a/src/zenstore/include/zenstore/cache/cachedisklayer.h +++ b/src/zenstore/include/zenstore/cache/cachedisklayer.h @@ -235,7 +235,7 @@ public: void GatherReferences(GcContext& GcCtx); void CollectGarbage(GcContext& GcCtx); RwLock::SharedLockScope GetGcReferencerLock(); - bool GetReferencesLocked(GcCtx& Ctx, std::vector<IoHash>& OutReferences); + bool GetReferences(GcCtx& Ctx, bool StateIsAlreadyLocked, std::vector<IoHash>& OutReferences); bool ReadAttachmentsFromMetaData(uint32_t BlockIndex, std::span<const IoHash> InlineKeys, |