Skip to content

Conversation

@xaliciayang
Copy link
Contributor

Description
A previous PR from earlier this year added backup-storage-redundancy to all SQL create/update methods. This inadvertently added the functionality to SQL DW as well. However, this parameter should not be available during dw update (not supported in the backend), so this PR removes the customer's ability to update a DW's backup storage redundancy.

Additionally, this fixes an issue for az sql db update; where the update command was not updating backup storage redundancy values on existing databases.

Testing Guide

History Notes

[SQL] az sql dw update: do not accept backup-storage-redundancy argument
[SQL] az sql db update: update backup storage redundancy as requested from command


This checklist is used to make sure that common guidelines for a pull request are followed.

@xaliciayang xaliciayang changed the title [SQL] [SQL] Hotfix: az sql dw update: fix update to not accept backup-storage-redundancy Dec 21, 2020
@xaliciayang xaliciayang changed the title [SQL] Hotfix: az sql dw update: fix update to not accept backup-storage-redundancy [SQL] az sql dw update: fix update to not accept backup-storage-redundancy; az sql db update: commit storage_account_type updates Dec 21, 2020
@xaliciayang xaliciayang changed the title [SQL] az sql dw update: fix update to not accept backup-storage-redundancy; az sql db update: commit storage_account_type updates [SQL] az sql dw update: fix update to not accept backup-storage-redundancy; az sql db update: commit storage_account_type updates Dec 21, 2020
if _should_show_backup_storage_redundancy_warnings(location):
if storage_account_type == 'GRS':
_backup_storage_redundancy_specify_geo_warning()
print(storage_account_type)
Copy link
Member

@evelyn-ys evelyn-ys Dec 21, 2020

Choose a reason for hiding this comment

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

Is this for debug? Should we print this to cx?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah my bad I'm taking it out ... no need to show customer 👍

@yonzhan yonzhan added this to the S180 milestone Dec 21, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 21, 2020

@Juliehzl please help with this PR.

@Juliehzl Juliehzl merged commit 8d3bbbb into Azure:dev Dec 22, 2020
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.

5 participants