diff --git a/pkg/storage/mvcc.go b/pkg/storage/mvcc.go index dff7a57fe16b..55f9fe3074a0 100644 --- a/pkg/storage/mvcc.go +++ b/pkg/storage/mvcc.go @@ -430,7 +430,7 @@ func updateStatsOnResolve( // the new intent/value. if !meta.Deleted { ms.LiveBytes -= origMetaKeySize + origMetaValSize - ms.LiveBytes -= orig.KeyBytes + meta.ValBytes + ms.LiveBytes -= orig.KeyBytes + orig.ValBytes } // IntentAge is always accrued from the intent's own timestamp on.