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

cli: Don't fail zone ls on zones from deleted tables/partitions #24178

Merged
merged 1 commit into from
Mar 23, 2018

Conversation

a-robinson
Copy link
Contributor

This continues displaying them in the output of SHOW EXPERIMENTAL ZONE CONFIGURATIONS, but it still makes some sense there given that the zone
configs are still in use, they just aren't addressable.

Fixes #24154

Release note (bug fix): Fix a crash in cockroach zone ls that would
happen if a table with a zone config on it had been deleted but not yet
garbage collected. (this was broken in v2.0 alphas, not in v1.1)

This should be cherry-picked to v2.0 because it fixes a broken command with approximately zero risk.

This continues displaying them in the output of `SHOW EXPERIMENTAL ZONE
CONFIGURATIONS`, but it still makes some sense there given that the zone
configs are still in use, they just aren't addressable.

Fixes cockroachdb#24154

Release note (bug fix): Fix a crash in `cockroach zone ls` that would
happen if a table with a zone config on it had been deleted but not yet
garbage collected. (this was broken in v2.0 alphas, not in v1.1)
@a-robinson a-robinson requested a review from benesch March 23, 2018 16:01
@a-robinson a-robinson requested a review from a team as a code owner March 23, 2018 16:01
@a-robinson a-robinson added this to the 2.0 milestone Mar 23, 2018
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@benesch benesch left a comment

Choose a reason for hiding this comment

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

Thanks! This is perfect. LGTM.

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.

cockroach zone ls sometimes returns error
3 participants