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

backupccl: remove index/bytes columns from backup/restore return stmt #134516

Merged

Conversation

kev-cao
Copy link
Contributor

@kev-cao kev-cao commented Nov 7, 2024

This removes the index entries and bytes columns from the return result of a backup/restore/import. This columns do not inform the user of anything useful and only serve to mislead them.

Fixes: #133053

Epic: None

Release note (backward-incompatible change): Backup/restore/import statements no longer return index entries and bytes backed up/restored.

@kev-cao kev-cao requested review from a team as code owners November 7, 2024 15:00
@kev-cao kev-cao requested review from jeffswenson and removed request for a team November 7, 2024 15:00
Copy link

blathers-crl bot commented Nov 7, 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

@kev-cao kev-cao force-pushed the backupccl/remove-columns-backup-restore branch from 2ca481e to 1458584 Compare November 7, 2024 18:25
@kev-cao kev-cao requested review from a team as code owners November 7, 2024 18:25
@kev-cao kev-cao requested review from kyle-a-wong and mgartner and removed request for a team November 7, 2024 18:25
@kev-cao kev-cao force-pushed the backupccl/remove-columns-backup-restore branch 2 times, most recently from f324a46 to c3441b0 Compare December 11, 2024 22:20
This removes the index entries and bytes columns from the return result
of a backup and restore. This columns do not inform the user of anything
useful and only serve to mislead them.

Fixes: cockroachdb#133053

Epic: None

Release note (backward-incompatible change): Backup/restore statements
no longer return index entries and bytes backed up/restored.
@kev-cao kev-cao force-pushed the backupccl/remove-columns-backup-restore branch from c3441b0 to 03e2409 Compare December 11, 2024 22:49
@kev-cao kev-cao force-pushed the backupccl/remove-columns-backup-restore branch from 03e2409 to 81922c1 Compare December 12, 2024 16:31
@kev-cao kev-cao requested review from a team as code owners December 12, 2024 18:39
@kev-cao kev-cao requested review from golgeek and csgourav and removed request for a team December 12, 2024 18:39
@kev-cao kev-cao requested review from asg0451 and removed request for a team December 12, 2024 18:39
@kev-cao kev-cao force-pushed the backupccl/remove-columns-backup-restore branch from 7c6fe60 to 9b67da0 Compare December 12, 2024 19:35
Copy link
Collaborator

@msbutler msbutler left a comment

Choose a reason for hiding this comment

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

i'd update the commit message to include import's change too

@kev-cao kev-cao force-pushed the backupccl/remove-columns-backup-restore branch 2 times, most recently from 4909eac to 03e2409 Compare December 17, 2024 21:48
@kev-cao
Copy link
Contributor Author

kev-cao commented Dec 17, 2024

TFTR!

bors r=msbutler

@craig craig bot merged commit 8e24b34 into cockroachdb:master Dec 18, 2024
37 checks passed
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.

backupccl: remove indexes and bytes column from return stmt of backup and restore
3 participants