-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: clear range keys in
Writer.Clear*Range
methods
This patch clears range keys in the `Writer` methods `ClearRawRange`, `ClearMVCCRange`, and `ClearMVCCIteratorRange`, as well as in the `ClearRangeWithHeuristic` helper. Range keys are not cleared in `ClearMVCCVersions`, since this method is specifically for clearing MVCC point key versions, and it is not possible to clear range keys between versions of the same point key. `Engine.ExperimentalClearAllMVCCRangeKeys()` has been improved to scan for any range keys in the given span, and only clear the smallest single span that covers all range keys, to avoid dropping unnecessary Pebble range tombstones across these range key spans. Release note: None
- Loading branch information
1 parent
f0372fd
commit f038cc4
Showing
8 changed files
with
717 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.