aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/blockstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-09-03 19:40:54 +0200
committerGitHub Enterprise <[email protected]>2024-09-03 19:40:54 +0200
commit3dfd38c8837c513cb3a5eff576cf3590046bd31e (patch)
treea3ab8d88738dcbeae5d709ccacfe15e1ed58b9ee /src/zenstore/blockstore.cpp
parentmeta info store (#75) (diff)
downloadzen-3dfd38c8837c513cb3a5eff576cf3590046bd31e.tar.xz
zen-3dfd38c8837c513cb3a5eff576cf3590046bd31e.zip
oplog index snapshots (#140)
- Feature: Added project store oplog index snapshots for faster opening of oplog - opening oplogs are roughly 10x faster
Diffstat (limited to 'src/zenstore/blockstore.cpp')
-rw-r--r--src/zenstore/blockstore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenstore/blockstore.cpp b/src/zenstore/blockstore.cpp
index 287a3f7fa..e20888ae4 100644
--- a/src/zenstore/blockstore.cpp
+++ b/src/zenstore/blockstore.cpp
@@ -1143,6 +1143,8 @@ BlockStore::IterateBlock(std::span<const BlockStoreLocation> ChunkLocations,
const IterateChunksLargeSizeCallback& LargeSizeCallback,
uint64_t LargeSizeLimit)
{
+ ZEN_TRACE_CPU("BlockStore::IterateBlock");
+
if (InChunkIndexes.empty())
{
return true;