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

sql/schemachanger: relieve restrictions on zone config #98650

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

fqazi
Copy link
Collaborator

@fqazi fqazi commented Mar 15, 2023

Previously, the declarative schema changer was blanket disabled for zone configurations. This was fairly
restrictive and meant that the declarative schema changer would not be used when any zone config existed. To address this, this patch only blocks declarative schema changes when a sub zone config exists.

Epic: none

Release note: None

@blathers-crl
Copy link

blathers-crl bot commented Mar 15, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@fqazi fqazi force-pushed the removeZoneConfigLimit branch 4 times, most recently from 0b7e850 to 3ddee96 Compare March 15, 2023 11:07
@fqazi fqazi marked this pull request as ready for review March 15, 2023 11:10
@fqazi fqazi requested a review from a team as a code owner March 15, 2023 11:10
@fqazi fqazi requested a review from a team March 15, 2023 11:10
@fqazi fqazi force-pushed the removeZoneConfigLimit branch 3 times, most recently from a747272 to 6d97c1f Compare March 15, 2023 15:31
Previously, the declarative schema changer was blanket
disabled for zone configurations. This was fairly
restrictive and meant that the declarative schema changer
would not be used when any zone config existed. To address
this, this patch only blocks declarative schema changes
when a sub zone config or regional by row elements exist.

Epic: none

Release note: None
@fqazi
Copy link
Collaborator Author

fqazi commented Mar 15, 2023

@chengxiong-ruan TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 15, 2023

Build succeeded:

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.

3 participants