Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
From a recent test, this stack trace has been observed:
Unhandled exception. MongoDB.Driver.MongoConnectionPoolPausedException: The connection pool is in paused state for server autodispo1-shard-00-01-pri.fmh6e.mongodb.net:27016.
|
at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.PoolState.ThrowIfNotReady()
|
at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnectionHelper.StartCheckingOut()
|
at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnectionHelper.AcquireConnection(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnection(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Servers.Server.GetChannel(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Bindings.ServerChannelSource.GetChannel(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Bindings.ChannelSourceHandle.GetChannel(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Operations.ChangeStreamCursor`1.MoveNext(CancellationToken cancellationToken)
|
at MongoDB.Driver.Core.Operations.AsyncCursorEnumerator`1.MoveNext()
|
at MongoTest.Program.Main(String[] args) in /RiderProjects/MongoTest/MongoTest/Program.cs:line 148
|
This exception should be resumable in addition to being retryable.
Note that in scope of JAVA-4289 we decided to make all MongoClientException resumable. We should consider the same for C#.
Attachments
Issue Links
- related to
-
JAVA-4289 Change stream cursors should be resilient to replicaset changes
-
- Closed
-
- split to
-
CSHARP-3964 Consider the range of possible client exceptions that should be resumable
-
- Backlog
-