-
Notifications
You must be signed in to change notification settings - Fork 3k
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
{RDBMS} az postgres flexible-server fabric-mirroring start/stop/update-databases
: disable fabric mirroring on HA server
#30688
base: dev
Are you sure you want to change the base?
Conversation
…e-databases: disable fabric mirroring on HA server
Validation for Azure CLI Full Test Starting...
Thanks for your contribution! |
Hi @mattboentoro, |
Validation for Breaking Change Starting...
Thanks for your contribution! |
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
||
if server.high_availability.mode != "Disabled": | ||
# disable fabric mirroring on HA server | ||
raise CLIError("Fabric mirroring is not supported on HA servers.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like better an error like:
Fabric mirroring is not supported on servers with high availability enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point. I'll update the error message
Related command
az postgres flexible-server fabric-mirroring start
az postgres flexible-server fabric-mirroring stop
az postgres flexible-server fabric-mirroring update-databases
Description
Disable fabric mirroring on HA server
Testing Guide
Manual testing
History Notes
{RDBMS}
az postgres flexible-server fabric-mirroring start/stop/update-databases
: disable fabric mirroring on HA serverThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.