The following commit introduced a workaround for SERVER-40685:
https://github.com/mongodb/mongo-csharp-driver/commit/6612755d089799ae2bfdfc71666cabe974c791be
By disabling using multiple mongoses:
useMultipleShardRouters = false; // TODO: remove this line once SERVER-41532 is fixed
Once SERVER-40685 is fixed this workaround should be removed.
- depends on
-
SERVER-40685 Mongos often fails transactions that use "snapshot" with SnapshotTooOld
- Closed
-
SERVER-41532 Mongos can fail with "a non-retryable snapshot error" and "Unable to read from a snapshot due to pending collection catalog changes"
- Closed