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 New feature request

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 this to Needs triage in SqlClient Triage Board via automation Feb 21, 2024
@David-Engel David-Engel added the 💡 Enhancement New feature request label Feb 21, 2024
@kf-gonzalez kf-gonzalez moved this from Needs triage to Ideas for Future in SqlClient Triage Board Feb 21, 2024
@edwardneal
Copy link

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement New feature request
Projects
SqlClient Triage Board
  
Ideas for Future
Development

No branches or pull requests

3 participants