Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-20.1: sql: preserve zone configurations after a primary key change #48827

Merged
merged 1 commit into from
May 15, 2020

Conversation

rohany
Copy link
Contributor

@rohany rohany commented May 13, 2020

Backport 1/1 commits from #48510.

/cc @cockroachdb/release


Fixes #48254.

Release note (bug fix): This PR fixes a bug where changing the primary
key of a table that had partitioned indexes could cause indexes to
lose their zone configurations. In particular, the indexes that got
rebuilt as part of a primary key change would keep their partitions
but lose the zone configurations attached to those partitions.

@rohany rohany requested a review from thoszhang May 13, 2020 19:50
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Fixes cockroachdb#48254.

Release note (bug fix): This PR fixes a bug where changing the primary
key of a table that had partitioned indexes could cause indexes to
lose their zone configurations. In particular, the indexes that got
rebuilt as part of a primary key change would keep their partitions
but lose the zone configurations attached to those partitions.
@rohany
Copy link
Contributor Author

rohany commented May 14, 2020

cc @lucy-zhang can I get a stamp on this? I don't want to miss the 20.1.1 cut.

Copy link
Contributor

@thoszhang thoszhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@rohany rohany merged commit 1b995c9 into cockroachdb:release-20.1 May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants