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: remove enterprise check for subzone rep ctrls #132788

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

annrpom
Copy link
Contributor

@annrpom annrpom commented Oct 16, 2024

With the deprecation of the core license, we no longer need to
an enterprise license check for configuring replication controls
regarding subzones. This patch mainly just performs clean-up -- as
in real servers, we overwrite base.CheckEnterpriseEnabled with the
one in ccl/utilccl/license_check.go, which always returns true now.

Epic: None

Release note: None

Copy link

blathers-crl bot commented Oct 16, 2024

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

@annrpom annrpom force-pushed the enterprise-test branch 2 times, most recently from 728e5f7 to 8531c15 Compare October 16, 2024 21:12
@annrpom annrpom changed the title [dnm]: remove enterprise check for subzone rep ctrls sql: remove enterprise check for subzone rep ctrls Oct 16, 2024
With the deprecation of the core license, we no longer need to
an enterprise license check for configuring replication controls
regarding subzones. This patch mainly just performs clean-up -- as
in real servers, we overwrite `base.CheckEnterpriseEnabled` with the
one in `ccl/utilccl/license_check.go`, which always returns true now.

Epic: None

Release note: None
@annrpom annrpom marked this pull request as ready for review October 16, 2024 22:28
@annrpom annrpom requested review from a team as code owners October 16, 2024 22:28
@annrpom annrpom requested a review from spilchen October 16, 2024 22:28
@annrpom annrpom assigned rafiss and unassigned rafiss Oct 16, 2024
@annrpom annrpom requested a review from rafiss October 16, 2024 22:28
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