Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3301

Unskip txn tests with readConcern=snapshot against mongos

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: