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

noop_createIndexes_not_blocked_by_txn.js fails on snapshot errors within a transaction

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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: