-
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.
74181: scmutationexec: use correct mutation IDs r=postamar a=postamar scmutationexec: absorb descriptorutils package This refactoring commit moves everything in the descriptorutils package to the scmutationexec package. It also removes unused helper functions from the latter package. Release note: None scmutationexec: use correct mutation IDs Previously, we'd run into issues when validating indexes because the declarative schema changer would enqueue descriptor mutations with incrementing IDs, which does not make sense outside of the legacy schema changer. This commit addresses this by having the declarative schema changer add mutations always with the same ID and enforcing this with a new validation check. Release note: None sql: make first mutation public when validating inverted index Previously we did not bother to make the first mutation public in the synthetic descriptor when validating inverted indexes, unlike when validating forward indexes. While this had not been necessary in the legacy schema changer, it is necessary in the declarative schema changer. So far we've been working around this by making the inverted index creation depend on any added virtual columns being made public first. This change is motivated by a recent commit on mutation ID generation in the declarative schema changer, which removes the limitations that prevented the mutation-made-public synthetic descriptor from being correct. Release note: None Co-authored-by: Marius Posta <[email protected]>
- Loading branch information
Showing
23 changed files
with
210 additions
and
310 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
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
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.