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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.15, 4.4.7, 5.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2021-05-03
    • 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

              vishnu.kaushik@mongodb.com Vishnu Kaushik
              vishnu.kaushik@mongodb.com Vishnu Kaushik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: