diff --git a/table/block_based_table_reader.cc b/table/block_based_table_reader.cc index f686239cb..02705aa90 100644 --- a/table/block_based_table_reader.cc +++ b/table/block_based_table_reader.cc @@ -108,7 +108,7 @@ Cache::Handle* GetEntryFromCache(Cache* block_cache, const Slice& key, Statistics* statistics) { auto cache_handle = block_cache->Lookup(key); if (cache_handle != nullptr) { - PERF_COUNTER_ADD(block_cache_hit_count, 1); + BumpPerfCount(&perf_context.block_cache_hit_count); // overall cache hit RecordTick(statistics, BLOCK_CACHE_HIT); // block-type specific cache hit