You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatereadonlySqlConnectionPoolGroupProviderInfo_poolGroupProviderInfo;// will only be null when called for ChangePassword, or creating SSE User Instance
Debug.Assert(SniContext.Undefined==Parser._physicalStateObj.SniContext,$"SniContext should be Undefined; actual Value: {Parser._physicalStateObj.SniContext}");
@@ -1787,15 +1816,44 @@ TimeoutTimer timeout
1787
1816
intervalTimer,
1788
1817
withFailover:true
1789
1818
);
1790
-
1791
-
if(RoutingInfo!=null)
1819
+
introutingAttemps=0;
1820
+
while(RoutingInfo!=null)
1792
1821
{
1793
-
// We are in login with failover scenation and server sent routing information
1794
-
// If it is read-only routing - we did not supply AppIntent=RO (it should be checked before)
1795
-
// If it is something else, not known yet (future server) - this client is not designed to support this.
1796
-
// In any case, server should not have sent the routing info.
Debug.Assert(SniContext.Undefined==Parser._physicalStateObj.SniContext,$"SniContext should be Undefined; actual Value: {Parser._physicalStateObj.SniContext}");
SqlClientEventSource.Log.TryAdvancedTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ADV> {0}, Received feature extension acknowledgement for UTF8 support",ObjectID);
2806
+
SqlClientEventSource.Log.TryAdvancedTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ADV> {0}, Received feature extension acknowledgement for AzureSQLSupport",ObjectID);
2807
+
2750
2808
if(data.Length<1)
2751
2809
{
2752
-
SqlClientEventSource.Log.TryTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ERR> {0}, Unknown value for UTF8 support",ObjectID);
SqlClientEventSource.Log.TryAdvancedTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ADV> {0}, FailoverPartner enabled with Readonly intent for AzureSQL DB",ObjectID);
2819
+
2754
2820
}
2755
2821
break;
2756
2822
}
2757
2823
caseTdsEnums.FEATUREEXT_DATACLASSIFICATION:
2758
2824
{
2759
2825
SqlClientEventSource.Log.TryAdvancedTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ADV> {0}, Received feature extension acknowledgement for DATACLASSIFICATION",ObjectID);
2826
+
2760
2827
if(data.Length<1)
2761
2828
{
2762
2829
SqlClientEventSource.Log.TryTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ERR> {0}, Unknown token for DATACLASSIFICATION",ObjectID);
SqlClientEventSource.Log.TryAdvancedTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ADV> {0}, Received feature extension acknowledgement for UTF8 support",ObjectID);
2853
+
2854
+
if(data.Length<1)
2855
+
{
2856
+
SqlClientEventSource.Log.TryTraceEvent("<sc.SqlInternalConnectionTds.OnFeatureExtAck|ERR> {0}, Unknown value for UTF8 support",ObjectID);
0 commit comments