Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sstable: increment BlockBytes and BlockReadDuration together
During a cache miss, increment the BlockBytes and BlockReadDuration iterator stats together, immediately after the read. Previously, if an error occurred, it was possible for the duration to be incremented without updating the bytes stats.
- Loading branch information