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

Build testing infrastructure to default to majority writeConcern either for all transaction ops or drops done in the same JS file

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Storage NYC 2019-02-11
    • 5

      Problem: two-phase drop takes a strong lock asynchronously and can cause transaction operations, which have 0-second lock request times, to fail randomly. Desired behavior: add majority writeConcern to such drop cmds to ensure the second phase finishes before testing proceeds; or the transaction op subsequent to the drop cmd needs majority write concern to achieve the same effect.

      There needs to be some generic testing solution to two-phase drop interfering with transaction operations. It seems unlikely that every test writer will know to add majority writeConcern to drop cmds done in the proximity of transaction operations.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: