You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
storage: avoid value retrieval of sys keys during ComputeStats
With the introduction of value separation (and especially with #149712) raft
log values may be separated into blob files to reduce write amplification. This
makes value retrieval more expensive, potentially requiring multiple additional
read I/Os.
When evaluating a raft log truncation, we use ComputeStats to compute an
MVCCStats delta for the truncation. Previously during this ComputeStats call,
we'd unnecessarily retrieve and unmarshal the values of the raft log keys. This
commit refactors this to move the value retrieval and unmarshal to only where
it's required.
Informs #149712.
Epic: none
Release note: none
0 commit comments