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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Wolfee Farkas
            Reporter:
            Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: