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

Make internal transaction concurrency workloads create test collection in the setup phase with w: majority

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc4, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding 2022-05-02
    • 166

      The workloads should explicitly create the test collection instead of implicitly creating it when the worker threads insert initial documents in the "init" state since implicit createCollection and index build operations started by those threads can conflict with each other. Additionally, the createCollection command should use writeConcern "majority", otherwise a transaction that starts while the index build is pending would fail with SnapshotUnavailable. 

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: