Skip to content
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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

mattboentoro
Copy link
Contributor

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 server


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

…e-databases: disable fabric mirroring on HA server
Copy link

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

Copy link

Hi @mattboentoro,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 21, 2025

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.")
Copy link
Contributor

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.

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants