-
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.
Previously, we did not validate the DependsOn, DependsOnTyoe and DependedOnBy cross-references. This commit adds this validation and also fixes a few bugs: - privileges were not validated for non-physical tables. - sequence dependencies were improperly updated by the schema changer. Unfortunately, there remain a number of unfortunate bugs around the inconsistent handling of these fields: - back-references are not systematically present. - ColumnIDs in DependedOnBy has a different meaning depending on whether the table is a sequence or not. These inconsistencies need to be ironed out by a cluster migration. This in turn will require changes to the PostRestoreChanges descriptor builder method. It probably also requires version-gating validation checks. Fixes #63147. Release note: None
- Loading branch information
Marius Posta
committed
Feb 7, 2022
1 parent
e7540a1
commit 718222f
Showing
23 changed files
with
658 additions
and
155 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
Oops, something went wrong.