-
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.
88452: kvnemesis: store and assert on presence of execution timestamp r=erikgrinaker a=tbg Only review the last commit here, the others are #87877. ---- We currently don't support non-transactional `DeleteRange` because we want to be able to match up its deletion tombstones with it, but weren't able to retrieve its execution timestamp. This is possible though, and in fact it's possible for all MVCC-aware operations. Rather than plumbing something one-off for DeleteRange, add a `OptionalTimestamp` field to `Result` and populate it for all MVCC-aware operations. This will enable further simplifications in the future, including addressing the following TODO: https://github.com/cockroachdb/cockroach/blob/7cde315da539fe3d790f546a1ddde6cc882fca6b/pkg/kv/kvnemesis/validator.go#L43-L46 Release note: None Co-authored-by: Tobias Grieger <[email protected]>
- Loading branch information
Showing
4 changed files
with
148 additions
and
70 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
Oops, something went wrong.