Reduce probability of collMods in create_index_background_unique_collmod* workloads

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.2
    • Affects Version/s: None
    • Component/s: Concurrency
    • None
    • Fully Compatible
    • Execution Team 2019-11-04, Execution Team 2019-11-18, Execution Team 2019-12-02
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The create_index_background_unique_collmod.js and create_index_background_unique_collmod_capped.js workloads (added in SERVER-41974) presently do a large number of empty collMod commands in order to trigger the unique index upgrade code path during unique index creation and deletion.

      Too many of these collMods in succession can starve resources and cause the test to time out.

      We can address this problem by reducing the probability of the collMod executing during the workload.

              Assignee:
              Maria van Keulen
              Reporter:
              Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: