-
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.
40439: jobs: ensure that async index dropping is needed r=pbardea a=pbardea We drop indexes through an async schema changer which eventually gets removes an index with `ClearRange`. When this happens the index drop job is not marked as completed, but instead marked as waiting for GC. However, if we DROP the table that the index references in the same transaction, then we mark the index drop job as done and we don't want to override this. This PR ensures and tests that we don't override already successful index dropping jobs that would be created as explained above. Addresses #39260. Release note: None Co-authored-by: Paul Bardea <[email protected]>
- Loading branch information
Showing
3 changed files
with
52 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
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