aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/projectstore.cpp
diff options
context:
space:
mode:
authorzousar <[email protected]>2026-03-18 10:04:37 -0600
committerzousar <[email protected]>2026-03-18 10:04:37 -0600
commita192118b1a6f27c55c5b716642fa14f162c5eafe (patch)
treeeb0b32c022bf250607d73b69c3cdce1b16745859 /src/zenstore/projectstore.cpp
parentMerge branch 'main' into zs/long-filename-improvement (diff)
downloadzen-a192118b1a6f27c55c5b716642fa14f162c5eafe.tar.xz
zen-a192118b1a6f27c55c5b716642fa14f162c5eafe.zip
Addressing review feedback
Diffstat (limited to 'src/zenstore/projectstore.cpp')
-rw-r--r--src/zenstore/projectstore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenstore/projectstore.cpp b/src/zenstore/projectstore.cpp
index 54fd2b789..56d0f7d2b 100644
--- a/src/zenstore/projectstore.cpp
+++ b/src/zenstore/projectstore.cpp
@@ -2520,10 +2520,11 @@ ProjectStore::Oplog::FindChunk(const std::filesystem::path& ProjectRootDir, cons
if (auto FileIt = m_FileMap.find(ChunkId); FileIt != m_FileMap.end())
{
std::filesystem::path FilePath = ProjectRootDir / FileIt->second.ServerPath;
- MakeSafeAbsolutePathInPlace(FilePath);
OplogLock.ReleaseNow();
+ MakeSafeAbsolutePathInPlace(FilePath);
+
IoBuffer Result = IoBufferBuilder::MakeFromFile(FilePath);
if (!Result)
{