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

cliccl: remove the debug backup commands #88338

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

stevendanna
Copy link
Collaborator

These commands have been experimental and undocumented since their original development. Many of the commands provide the same functionality as "SHOW BACKUP". The export command provides unique functionality, but it is hard to use correctly.

Further, leaving these in the code has forced us to maintain APIs in the backupccl code that we would have otherwised removed or refactored.

Release justification: Low risk removal of unsupported functionality.

Release note (cli change): The previously-experimental and undocumented debug backup has been removed.

@stevendanna stevendanna requested a review from a team as a code owner September 21, 2022 12:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@stevendanna stevendanna requested a review from dt September 21, 2022 12:30
}

codec := keys.TODOSQLCodec
entry, err := backupccl.MakeBackupTableEntry(
Copy link
Member

Choose a reason for hiding this comment

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

I think this function can go from backupccl now too, which is has been the "ugh, why am I maintaining this" edge lately.

@stevendanna
Copy link
Collaborator Author

bors r=dt

@craig
Copy link
Contributor

craig bot commented Sep 22, 2022

Merge conflict.

These commands have been experimental and undocumented since their
original development. Many of the commands provide the same
functionality as "SHOW BACKUP".  The export command provides unique
functionality, but it is hard to use correctly.

Further, leaving these in the code has forced us to maintain APIs in
the backupccl code that we would have otherwised removed or
refactored.

Release justification: Low risk removal of unsupported functionality.

Release note (cli change): The previously-experimental and
undocumented `debug backup` has been removed.
@stevendanna
Copy link
Collaborator Author

bors r=dt

@craig
Copy link
Contributor

craig bot commented Sep 23, 2022

Build failed:

@stevendanna
Copy link
Collaborator Author

bors retry

@craig
Copy link
Contributor

craig bot commented Sep 26, 2022

Build succeeded:

@craig craig bot merged commit 0961abd into cockroachdb:master Sep 26, 2022
andreimatei added a commit to andreimatei/cockroach that referenced this pull request Nov 18, 2022
We had code protecting us against a cli test attempting to start a
tenant but discovering that the binary does not have enough ccl code
linked in to do that. The code was silently skipping the test in this
case. This code is no longer necessary because no test hits it. When it
was introduced, I think there was a ccl test hitting it, but I believe
that went away in cockroachdb#88338. This patch removes the protection.

This patch is part of a larger effort to remove such silent skipping.

Release note: None
Epic: None
craig bot pushed a commit that referenced this pull request Nov 18, 2022
92138: cli: remove useless test skip r=andreimatei a=andreimatei

We had code protecting us against a cli test attempting to start a tenant but discovering that the binary does not have enough ccl code linked in to do that. The code was silently skipping the test in this case. This code is no longer necessary because no test hits it. When it was introduced, I think there was a ccl test hitting it, but I believe that went away in #88338. This patch removes the protection.

This patch is part of a larger effort to remove such silent skipping.

Release note: None
Epic: None

92152: tracing/collector: don't import CCL code for no reason r=andreimatei a=andreimatei

The collector test was importing ccl for no apparent reason.

Release note: None
Epic: None

Co-authored-by: Andrei Matei <andrei@cockroachlabs.com>
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