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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc2, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2021-06-14
    • Linked BF Score:
      162

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            huayu.ouyang Huayu Ouyang
            Reporter:
            huayu.ouyang Huayu Ouyang
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: