-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: legacy schema changer jobs can incorrectly drop db/schema descri…
…ptors Previously, the legacy schema changer would create a job to clean up database/schema descriptors, however it would only care if the descriptor was marked as dropped. This was inadequate because with the declarative schema changer becoming in use, its possible for it to interfere with the declarative schema changer, if a legacy schema changer job is kicked off after the pre-commit phase of a declarative drop. To address this, the legacy schema changer now checks if the descriptor ID is in the job details. Release note: None
- Loading branch information
Showing
2 changed files
with
73 additions
and
11 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