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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-04-20
    • Linked BF Score:
      8

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: