Skip to content

feat(adapter-mssql): support multiSubnetFailover flag in connection string#28261

Merged
jacek-prisma merged 2 commits intoprisma:mainfrom
tylerclendenin:main
Oct 9, 2025
Merged

feat(adapter-mssql): support multiSubnetFailover flag in connection string#28261
jacek-prisma merged 2 commits intoprisma:mainfrom
tylerclendenin:main

Conversation

@tylerclendenin
Copy link
Copy Markdown
Contributor

MultiSubnetFailover is a SQL Server connection property that enables faster failovers for Always On Availability Groups and Failover Cluster Instances, whether across single or multiple subnets. When enabled, clients connecting to a SQL Server listener will attempt to connect to all its IP addresses simultaneously, choosing the first one that responds, which significantly reduces reconnection time after a failover event.

The Tedious package supports it as an option, however to use it from a connection string it needs to be extracted.

Ref #9187

….each

Co-authored-by: jacek-prisma <malec@prisma.io>
Copy link
Copy Markdown
Contributor

@jacek-prisma jacek-prisma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacek-prisma jacek-prisma merged commit e6991d5 into prisma:main Oct 9, 2025
408 of 410 checks passed
aqrln added a commit that referenced this pull request Oct 16, 2025
Conflicts in `packages/config` were automatically solved using
[Mergiraf](https://mergiraf.org/).

Commits:

- **fix: fix neon listener leak (#28255)**
- **feat(qpe): add an option to disable logging to console (#28253)**
- **feat(adapter-mssql): support multiSubnetFailover flag in connection
string (#28261)**
- **chore: use pnpm catalog (#28236)**
- **fix: revert "chore: use pnpm catalog (#28236)" (#28271)**
- **chore: upgrade OpenTelemetry deps and refresh tracing setup in
client (#28268)**
- **chore(deps): update engines to
6.18.0-3.b03d75f1a67e62289420f5697c28a3ff8dbb0424 (#28258)**
- **feat(qpe): expose package version as an export (#28275)**
- **feat: support OpenTelemetry in loadable sub-commands (#28272)**
- **chore(deps): update engines to
6.18.0-6.9bf76dbea6c9e34d59a3577015bd1e94bfda7624 (#28288)**
- **fix(adapter-pg): historical dates (#28212)**
- **chore(deps): update engines to
6.18.0-7.d3fc122f88ca3ce86f67a797debfb179a39ccf48 (#28293)**
- **fix: support multiple Prisma instances with different providers
(#28291)**
- **feat(config): add support for `engine?: 'js' | 'classic'` (#28266)**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants