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

Add option to ignore server provided failover partner #2365

Open
David-Engel opened this issue Feb 21, 2024 · 1 comment
Open

Add option to ignore server provided failover partner #2365

David-Engel opened this issue Feb 21, 2024 · 1 comment
Labels
💡 Enhancement Issues that are feature requests for the drivers we maintain.

Comments

@David-Engel
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Due to unique networking configurations for some clients of an application, the failover partner information defined on the server can't be reached over the network without using a custom server name for the failover partner for those clients.

Describe the solution you'd like

Customers would like to be able to specify a failover partner on the client that will not get overridden by the failover partner information provided by the server. Ideally, this would be a connection string option like ignoreServerFailoverPartner=true.

Describe alternatives you've considered

Disabling the failover partner information sent by the server via a server-side trace flag. However, this is not an ideal solution.

@David-Engel David-Engel added the 💡 Enhancement Issues that are feature requests for the drivers we maintain. label Feb 21, 2024
@JRahnama JRahnama added the 🆕 Triage Needed For new issues, not triaged yet. label Feb 21, 2024
@edwardneal
Copy link
Contributor

I've had this problem before, and something to work around it would be useful. The situation I encountered it in related primarily to multiple domains. The SQL Server instances would be in the resources.contoso.com domain, and mirroring was configured to use single-label names. This caused a problem when the clients are in the ad.contoso.com domain - the connection string's server name and failover partner would use FQDNs, but the failover partner was overwritten with a single-label name (which would never resolve.)

@JRahnama JRahnama removed the 🆕 Triage Needed For new issues, not triaged yet. label Feb 28, 2024
@github-project-automation github-project-automation bot moved this to Ideas for Future in SqlClient Triage Board Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement Issues that are feature requests for the drivers we maintain.
Projects
Status: Ideas for Future
Development

No branches or pull requests

3 participants