-
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.
83031: storage: support reading and writing raw engine range keys r=nicktrav a=erikgrinaker **storage: rename `ClearAllMVCCRangeKeys` to `ClearAllRangeKeys`** Since `Engine.ExperimentalClearAllMVCCRangeKeys` takes only `roachpb.Key` bounds, it can be used to clear both MVCC range keys and more general engine range keys. This patch therefore renames the method to `ExperimentalClearAllRangeKeys` to make it agnostic to the range key type. Release note: None **storage: support range keys in `EngineIterator`** This patch adds range key support to `EngineIterator`. This is needed e.g. to process range keys in the Raft machinery, which operates on arbitrary range data. No tests are included, as there is no existing test framework for `EngineIterator`. The logic is a simple wrapper around Pebble, so this was considered less problematic than it would normally be. Resolves #82935. Release note: None **storage: add `Engine.ExperimentalPutEngineRangeKey`** This patch adds `Engine.ExperimentalPutEngineRangeKey` to write raw engine range keys. This will be used e.g. when ingesting Raft snapshots, which is agnostic to the kind of range key and doesn't care about decoding or encoding them. Release note: None Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information
Showing
9 changed files
with
286 additions
and
90 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
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
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
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.