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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.15, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2021-05-03
    • 42

      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.

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

              Created:
              Updated:
              Resolved: