-
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.
89004: storage: add `TestMVCCHistories` cases r=erikgrinaker a=erikgrinaker **storage: add `TestMVCCHistories` metamorphic param for peek bounds** This patch adds a metamorphic test parameter that enables peek bounds for MVCC range key-related commands. These peek bounds will always result in identical, correct MVCC stats. Unfortunately, we can't assert that the peek bounds are enforced, because importing the `spanset` package causes a cyclic dependency. Release note: None **storage: use `del_range_ts` in `TestMVCCHistories`** Many of the early `TestMVCCHistories` tests for MVCC range tombstones used the direct engine method `put_rangekey` rather than the MVCC range tombstone write `del_range_ts` (which does conflict checks, MVCC stats adjustments, etc), because the latter did not exist yet. This patch migrates most tests to `del_range_ts`, and also renames some of the test files to refer to range tombstone rather than range key. Stats assertions have also been enabled for some tests. There are no significant changes to the tests themselves. Release note: None **storage: add `TestMVCCHistories` cases** This patch adds additional test cases for `TestMVCCHistories`. These were primarily designed by deliberately introducing bugs in MVCC code that did not cause existing test cases to fail. Resolves #86655. Release note: None 89116: kvserver: skip TestLeasePreferencesDuringOutage r=mgartner a=mgartner See #88769. Release note: None Co-authored-by: Erik Grinaker <[email protected]> Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
31 changed files
with
2,930 additions
and
1,421 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.