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

Use w: majority for createCollection command in kill_sessions_with_prepared_transaction.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.15, 4.4.7, 5.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Repl 2021-05-03
    • Linked BF Score:
      42

      Description

      Similarly to SERVER-55753, we should use w:majority when performing writes before starting a local read concern transaction, to ensure that the writes exist in the snapshot being used by the transaction.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vishnu.kaushik Vishnu Kaushik
              Reporter:
              vishnu.kaushik Vishnu Kaushik
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: