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

Reduce probability of collMods in create_index_background_unique_collmod* workloads

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2
    • Component/s: Concurrency
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2019-11-04, Execution Team 2019-11-18, Execution Team 2019-12-02
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: