-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 2.4.4
-
Component/s: Connectivity
-
None
After upgrading to 2.4.4 it appears that the problem mentioned in CSHARP-1961 still persists.
When the replicaset failover is triggered, the following exceptions happen:
System.InvalidOperationException: Invalid BinaryConnection state transition from 4 to Failed.
MongoDB.Driver.Core.Connections.BinaryConnection.OpenConnectionHelper.FailedOpeningConnection(Exception wrappedException)
MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquiredConnection.Open(CancellationToken cancellationToken)
MongoDB.Driver.Core.Servers.Server.GetChannel(CancellationToken cancellationToken)
MongoDB.Driver.Core.Bindings.ServerChannelSource.GetChannel(CancellationToken cancellationToken)
MongoDB.Driver.Core.Bindings.ChannelSourceHandle.GetChannel(CancellationToken cancellationToken)
MongoDB.Driver.Core.Operations.FindOperation`1.Execute(IReadBinding binding, CancellationToken cancellationToken)
MongoDB.Driver.MongoCursor`1.GetEnumerator()
- is duplicated by
-
CSHARP-2212 Invalid BinaryConnection state transition from 4 to Failed
- Closed