[DocDB] Increment statistics/metrics for rocksdb cache outside of mutex lock
Author: es1024Created Sep 29, 2026Updated Sep 29, 2026
Labelskind/enhancementarea/docdbpriority/mediumstatus/awaiting-triage
Jira Link: DB-23903
Description
Context: #34118
We currently increment cache-related rocksdb statistics and metrics under the cache lock. This can be done outside of lock to reduce the size of the critical section, especially since these may involve contended atomic increments.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
- I confirm this issue does not contain any sensitive information.
Source: yugabyte/yugabyte-db