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

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.4.1, 4.7.0, 4.2.17
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Execution Team 2020-07-27
    • 36

    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

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: