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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: