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

Unskip txn tests with readConcern=snapshot against mongos

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 1.15.0
    • Fix Version/s: None
    • Component/s: libmongoc, tests, transactions
    • Security Level: Public
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: