tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

Add support for MultiSubnetFailover connection property

Open tylerclendenin opened this issue 1 year ago • 0 comments

When the MultiSubnetFailover=Yes property is added to the connection string, the TCP connection should be attempted for each resolved IP address in parallel rather than in sequence. This creates a race where the first connection to be established wins and becomes the target server.

https://learn.microsoft.com/en-us/sql/relational-databases/native-client/features/sql-server-native-client-support-for-high-availability-disaster-recovery?view=sql-server-ver15#connecting-with-multisubnetfailover

https://github.com/prisma/tiberius/pull/356

tylerclendenin avatar Sep 30 '24 15:09 tylerclendenin