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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4.1, 4.7.0, 4.2.17
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Execution Team 2020-07-27
    • 36

      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:

            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: