noop_createIndexes_not_blocked_by_txn.js fails on snapshot errors within a transaction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-04-20
    • 8
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      noop_createIndexes_not_blocked_by_txn.js, introduced in SERVER-36961, may fail in a sharded passthrough setup on snapshot errors when trying to populate the test collection.

       
      Possible fix:
      Some tests in the same multi-statement transaction suite address this situation by retrying the transaction using the withTxnAndAutoRetyOnMongos() test helper (added in SERVER-45779).

      The proposed retry logic (see example in multi_statement_transaction_using_api.js will not be necessary after SERVER-39704 is completed.

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: