mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 18:10:34 +00:00
Both were uint32_t while every sibling counter was uint64_t. On a multi-day node node_read_bytes read 1,481,244,491 for 1,894,924,394 reads, i.e. 0.8 bytes per read, which is impossible: the counter had wrapped about 350 times. Read hit rate is used to tell a cold-read stall from a write-lock ceiling, so a wrapping numerator makes that diagnosis wrong rather than merely imprecise. getFetchTotalCount() was already backed by a uint64_t member, so its 32-bit return type truncated a correct value at the accessor. All three getters now return uint64_t. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>