CSHARP-6257ClosedFixed

WithTransaction does not retry TransientTransactionError when MongoClientSettings is created with its constructor (Timeout = InfiniteTimeSpan)

h4. Summary After upgrading MongoDB.Driver from 3.5.2 to 3.12.0, {{IClientSessionHandle.WithTransaction[Async]}} no longer retries write conflicts. The first {{TransientTransactionError}} ends the call with {{System.TimeoutException: The operation has timed out}} after a single attempt, typically within milliseconds, instead of retrying the callback until the 120-second limit. This happens when the client is created from a {{MongoClientSettings}} built with its constructor ({{{}new MongoCl

Affected Versions
Versions known to exhibit this issue
3.7.03.8.03.9.03.10.03.11.03.12.0
Fixed Versions
Versions that include the fix
3.13.0
Components
Server components related to this issue
Transactions
Labels
Tags and classification

No labels assigned.