From 3dfd38c8837c513cb3a5eff576cf3590046bd31e Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 3 Sep 2024 19:40:54 +0200 Subject: oplog index snapshots (#140) - Feature: Added project store oplog index snapshots for faster opening of oplog - opening oplogs are roughly 10x faster --- src/zenstore/blockstore.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zenstore/blockstore.cpp') 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 ChunkLocations, const IterateChunksLargeSizeCallback& LargeSizeCallback, uint64_t LargeSizeLimit) { + ZEN_TRACE_CPU("BlockStore::IterateBlock"); + if (InChunkIndexes.empty()) { return true; -- cgit v1.2.3