-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: fix mvcc stats on gc of range tombstone over del #87103
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mark this as fixing #87042.
6d64de8
to
6b3d98f
Compare
6b3d98f
to
c440f31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
pkg/storage/mvcc.go
Outdated
ms.Add(updateStatsOnGC(gcKey.Key, metaKeySize, metaValSize, meta, | ||
realKeyChanged.WallTime)) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think something got messed up with the formatting here.
Previously if range tombstone was placed over delete, GC would not correctly update GC bytes age incorrectly using range tombstone ts as age of underlying tombstone. Release justification: Bugfix Release note: None
c440f31
to
ca07f5d
Compare
bors r=erikgrinaker |
Build succeeded: |
Previously if range tombstone was placed over delete, GC would
not correctly update GC bytes age incorrectly using range tombstone ts
as age of underlying tombstone.
Release justification: Bugfix
Release note: None
Fixing: #87042