-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
SHOW BACKUP: Indicate if backup is multi region and how many regions. #79681
Comments
cc @cockroachdb/bulk-io |
Can I try my hand at this? |
@saichatla thanks for volunteering to take this on! This is pretty straightforward to implement for database regions, but not for cluster regions; see multiregion docs for reference. The bulk team (responsible for backup), will chat about this issue in the next week or so and will provide further direction on next steps. Please hold tight for now! |
@msbutler Thank you! I will be waiting for your response. |
@saichatla Alright, we think this would be a good issue for you to pick up. It should only a day or 2 of work. Do you have time to work on this in the next two weeks? We'd like to get this in to our next release, which gets finalized in August. Let me know! Here's the idea:
cockroach/pkg/ccl/backupccl/restore_job.go Lines 847 to 870 in 75a18a8
cockroach/pkg/ccl/backupccl/show.go Lines 925 to 970 in 75a18a8
Happy coding! |
@msbutler Yep! I will get it done ASAP! |
@saichatla how's this going? We may need to pick this up to slip it into our next release unless you have a PR ready. |
Sorry to hear about the personal stuff. Again, we're happy to take over from here, if you don't have capacity. Please just let us know! Within the |
If you want to take over that is fine, since this is on a time crunch. @msbutler I did not expect to be dealing with some of the things I have been dealing with. |
Cool, I'll think we'll take over from here! |
hey @saichatla. After speaking again with the team, we've decided this issue is no longer high priority and under a time crunch. Please let me know if you'd like to give it a try, and I'll reassign you! Sorry for all the admin back and forth. |
Summary
Working with a partner that has test data management as part of their portfolio. They were looking to identify if there a way to know if a previously taken backup is multi region?
For example:
Cluster A is multi-region and a cluster backup is created and writes to gcp cloud storage.
We restore to cluster B . Prior to doing so we want to validate if the backup is multi region or not AND to identify how many regions.
Currently SHOW BACKUP provides the following output fields:
Request
Can we add 2 columns to the output of SHOW BACKUP:
Column: is_multi_region Description: Indicate true/false if a cluster backup is multi region.
Column: has_regions Description: Indicate the number of regions for.a cluster backup.
Other methods:
Indicate the if a backup is multi region and number of regions in the path.
Example: //-/multi:non-multi/
Jira issue: CRDB-14976
The text was updated successfully, but these errors were encountered: