Use {w: majority} when creating a collection right before starting transaction in jstests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-06-14
    • 162
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to SERVER-55753 and SERVER-56964, we should use w: majority when creating a collection before starting a transaction to avoid a SnapshotUnavailable error.

            Assignee:
            Huayu Ouyang
            Reporter:
            Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: