aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-24 13:36:44 +0100
committerStefan Boberg <[email protected]>2026-02-24 13:36:44 +0100
commit075bac3ca870a1297e9f62230d56e63aec13a77d (patch)
tree367a820685a829adbab31cd1374b1af2cece4b7e /src/zenstore/cache/structuredcachestore.cpp
parentFix correctness and concurrency bugs found during code review (diff)
downloadzen-075bac3ca870a1297e9f62230d56e63aec13a77d.tar.xz
zen-075bac3ca870a1297e9f62230d56e63aec13a77d.zip
Revert "Fix correctness and concurrency bugs found during code review"
This reverts commit 3c89c486338890ce39ddebe5be4722a09e85701a.
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
-rw-r--r--src/zenstore/cache/structuredcachestore.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp
index 4e8475293..52b494e45 100644
--- a/src/zenstore/cache/structuredcachestore.cpp
+++ b/src/zenstore/cache/structuredcachestore.cpp
@@ -608,10 +608,7 @@ ZenCacheStore::GetBatch::Commit()
m_CacheStore.m_HitCount++;
OpScope.SetBytes(Result.Value.GetSize());
}
- else
- {
- m_CacheStore.m_MissCount++;
- }
+ m_CacheStore.m_MissCount++;
}
}
}