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

fix tests in core/txn to use write concern "majority" for createIndexes commands run before starting transactions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-07-27
    • Linked BF Score:
      17

      Description

      There are a few tests in jstests/core/txns that may fail with a SnapshotUnavailable error because these tests create an index with a local write concern before running an local read concern transaction on the same collection.

      A similar issue was fixed in SERVER-45421.

      Some of the tests affected include:

        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: