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

multiregionccl: gate multi-region database configuration behind a license #61041

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

otan
Copy link
Contributor

@otan otan commented Feb 24, 2021

Resolves #59668

Release justification: low risk changes to new functionality

Release note (enterprise change): Multi-region database creations are
permitted as long as the cluster has a CockroachDB subscription.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@otan otan force-pushed the mulah_for_multiregion branch 3 times, most recently from 6e3c268 to fa22251 Compare February 24, 2021 07:54
@otan otan requested review from ajstorm and a team February 24, 2021 19:25
Copy link
Collaborator

@ajstorm ajstorm left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @otan)


pkg/ccl/multiregionccl/multiregion_test.go, line 92 at r1 (raw file):

			// The previous command on t4 does some async cleanup
			// which may require retries for the DROP COLUMN to succeed.
			{stmt: `ALTER TABLE t4 DROP COLUMN crdb_region`, retry: true},

Nit: Does this mean that ALTER DATABASE ADD REGION will still work? Not essential, but would be nice if we blocked that as well.

@otan
Copy link
Contributor Author

otan commented Feb 25, 2021


pkg/ccl/multiregionccl/multiregion_test.go, line 92 at r1 (raw file):

Previously, ajstorm (Adam Storm) wrote…

Nit: Does this mean that ALTER DATABASE ADD REGION will still work? Not essential, but would be nice if we blocked that as well.

upcoming PR

@otan otan force-pushed the mulah_for_multiregion branch 3 times, most recently from 9a8d34c to 7a128a6 Compare February 26, 2021 02:18
…ense

Release justification: low risk changes to new functionality

Release note (enterprise change): Multi-region database creations are
permitted as long as the cluster has a CockroachDB subscription.
@otan
Copy link
Contributor Author

otan commented Feb 26, 2021

bors r=ajstorm

@craig
Copy link
Contributor

craig bot commented Feb 26, 2021

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.

sql: Restrict new multi-region syntax to CCL
3 participants