Skip to content

Conversation

@asthamohta
Copy link
Contributor

@asthamohta asthamohta commented Sep 29, 2021

Adding support for Cloud Spanner Cross-Region Backups. This feature allows customers to copy the backup to instances in different regions after creating a backup of the database. The following PR adds the following functionalities:

  1. Support for copy_backup in python CL
  2. Tests for copy_backup
@asthamohta asthamohta requested a review from a team as a code owner September 29, 2021 22:36
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner API. label Sep 29, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 29, 2021
@asthamohta asthamohta added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 29, 2021
@larkee
Copy link
Contributor

larkee commented Nov 17, 2021

Also, PR titles should follow the Commit Message Guidelines.

The rest LGTM 👍

@asthamohta asthamohta requested a review from a team as a code owner November 18, 2021 14:39
@tseaver tseaver changed the title feat: Adding support for spanner copy backup feature feat: add support for spanner copy backup feature Nov 18, 2021
op.result() # blocks indefinitely


def test_copy_backup_create_w_invalid_expire_time(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: prefer to include this case in test_copy_backup_workflow in order to reuse the created source backup and minimize the number of created backups.

@asthamohta asthamohta force-pushed the spanner-copy-backup branch 2 times, most recently from 6fd58af to 8c1c404 Compare December 24, 2021 13:35
@asthamohta asthamohta requested a review from a team as a code owner March 10, 2022 04:50
@snippet-bot
Copy link

snippet-bot bot commented Mar 10, 2022

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
asthamohta and others added 5 commits March 15, 2022 13:45
* Synchronize new proto/yaml changes. PiperOrigin-RevId: 436114471 Source-Link: googleapis/googleapis@6379d5f Source-Link: https://github.com/googleapis/googleapis-gen/commit/a59984b4cb711eeb186bca4f5b35adbfe60825df Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTU5OTg0YjRjYjcxMWVlYjE4NmJjYTRmNWIzNWFkYmZlNjA4MjVkZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@asthamohta asthamohta force-pushed the spanner-copy-backup branch from 64ece0b to caf4b0b Compare March 23, 2022 12:01
@asthamohta asthamohta force-pushed the spanner-copy-backup branch from 3568e9d to 22bed64 Compare March 24, 2022 05:17
@vi3k6i5 vi3k6i5 added do not merge Indicates a pull request not ready for merge, due to either quality or timing. and removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. labels Mar 24, 2022
@asthamohta asthamohta removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 24, 2022
@asthamohta asthamohta force-pushed the spanner-copy-backup branch 6 times, most recently from d8aa15d to eacd97c Compare March 25, 2022 05:25
@asthamohta asthamohta force-pushed the spanner-copy-backup branch from eacd97c to ac4e13b Compare March 25, 2022 07:26
@asthamohta asthamohta merged commit 97faf6c into googleapis:main Mar 25, 2022
vi3k6i5 pushed a commit to vi3k6i5/python-spanner that referenced this pull request Mar 29, 2022
* changes for copy backup feature * changes to test case * changes to documenttation * feat: changes as per review, adding shared_backup * changes for cross region backup * samples: changes to list backup operations * chore(deps): update all dependencies (googleapis#689) * chore(deps): update dependency pytest to v7.1.1 (googleapis#690) * feat: add support for Cross region backup proto changes (googleapis#691) * Synchronize new proto/yaml changes. PiperOrigin-RevId: 436114471 Source-Link: googleapis/googleapis@6379d5f Source-Link: https://github.com/googleapis/googleapis-gen/commit/a59984b4cb711eeb186bca4f5b35adbfe60825df Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTU5OTg0YjRjYjcxMWVlYjE4NmJjYTRmNWIzNWFkYmZlNjA4MjVkZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * feat: adding samples * linting Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement.

4 participants