forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
100523: upgrades: ensure that create job_info synchronizes with jobs r=adityamaru a=knz Probably needed for cockroachdb#99087 and cockroachdb#99836. Prior to this patch, the migration that introduced the new job_info table did not touch any other descriptor. As such, it couldn't synchronize properly with any concurrent code that needed to access the jobs table. This patch fixes it by forcing a version upgrade on the jobs table descriptor. This triggers a lease synchronization in the upgrade manager and results in the proper ordering. Release note: None Epic: None Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
2 changed files
with
47 additions
and
6 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