Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92058

Make transactions in view_reads_in_transaction.js and timeseries_reads_in_txns.js retry on TransientTransactionError

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-07-08, CAR Team 2024-07-22
    • 200

      view_reads_in_transaction.js and timeseries_reads_in_txns.js (as well as many other tests in jstests/core/txns/*, but these two happen to be impacted by BFs) execute transactions manually, which means that they don't retry when facing a TransientTransactionError. The solution would be to rewrite those transactions using a transaction helper like withTxnAndAutoRetryOnMongos.

            Assignee:
            adam.farkas@mongodb.com Wolfee Farkas
            Reporter:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: