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

JS tests doing transaction operations must use majority writeConcern for drops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc1, 4.1.1
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-04
    • 58

    Description

      collation.js, misc_validation.js, do_txn_basic.js (per BF-9138) all need to be fixed to wait for both phases of two-phase drop to finish before starting transaction ops. Per SERVER-34372 and SERVER-33244, using majority write concern in an op will wait for the second phase of drop to finish before beginning the command, so that transaction ops don't run into lock conflict that cause the op (and entire transaction) to abort. Majority write concern should be added to the drop cmds.

      Attachments

        Issue Links

          Activity

            People

              dianna.hohensee@mongodb.com Dianna Hohensee
              dianna.hohensee@mongodb.com Dianna Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: