-
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.
partitionccl: do not generate subzone spans for dropped tables
This commit fixes a hazard posed by tables partitioned by user-defined types. The bug being fixed involves code running in an index GC job which attempts to re-write zone configs on a dropped table which was partitioned by a now-dropped user-defined type. Before this change, we'd attempt to generate subzone spans which we might not know how to populate. Release note (bug fix): Fixed a bug from earlier alphas in 21.1 whereby dropping an index on a table partitioned by a user-defined type and then dropping the table and then dropping the type before the GC TTL for the index has expired can result in a crash.
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 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