-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[RDBMS] az postgres flexible-server fabric-mirroring start/stop/update-databases
: Disable fabric mirroring on HA server
#30688
Conversation
…e-databases: disable fabric mirroring on HA server
️✔️AzureCLI-FullTest
|
Hi @mattboentoro, |
❌AzureCLI-BreakingChangeTest
|
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
az postgres flexible-server fabric-mirroring start/stop/update-databases
: disable fabric mirroring on HA serveraz postgres flexible-server fabric-mirroring start/stop/update-databases
: Disable fabric mirroring on HA server
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
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.