[CDRIVER-3301] Unskip txn tests with readConcern=snapshot against mongos Created: 10/Aug/19  Updated: 27/Oct/23  Resolved: 08/Jun/20

Status: Closed
Project: C Driver
Component/s: libmongoc, tests, Transactions
Affects Version/s: 1.15.0
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-39704 Allow mongos to retry on stale versio... Needs Scheduling
Related
is related to SERVER-40685 Mongos often fails transactions that ... Closed
is related to SERVER-41532 Mongos can fail with "a non-retryable... Closed
Epic Link: CDRIVER-2733

 Description   

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.



 Comments   
Comment by Kevin Albertson [ 08/Jun/20 ]

This was resolved with CDRIVER-3373

Generated at Wed Feb 07 21:17:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.