-
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.
sql/schemachanger: add DML injection tests for rollback scenarios
Previously, our DML injection tests only covered happy paths for schema changes. We recently ran into a bug where the old primary index was corrupted after DML and left in a bad state visible only after a rollback. To address this, this patch adds tests for this specific scenario and adds the ability to test rollbacks with DML injection. Epic: none Release note: None
- Loading branch information
Showing
40 changed files
with
8,434 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
pkg/ccl/schemachangerccl/backup_base_mixed_generated_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
pkg/sql/schemachanger/scop/immediate_mutation_visitor_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.