-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.15.0
-
Component/s: libmongoc, Testing, Transactions
-
None
In CDRIVER-3287 code was added to skip transaction tests that use readConcern: snapshot when running against mongos because of error like this:
Begin /transactions/transaction-options, seed 3108210480 - no transaction options set - transaction options inherited from client - transaction options inherited from defaultTransactionOptions Expected success, got error "Transaction 3af8b362-1d5d-44fa-9e86-361f0343da15:1 was aborted on statement 0 due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:27019 during a transaction :: caused by :: Read timestamp Timestamp(1565446708, 5) is older than the oldest available timestamp.":
We've skipped those tests from running against mongos for now.
Note, this is different from the stale DBVersion error from distinct commands, which we are accounting for per the test README, though the server tickets discuss both.
- depends on
-
SERVER-39704 Allow mongos to retry on stale version and snapshot errors within a transaction
- Backlog
- is related to
-
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