[SERVER-43693] Reduce probability of collMods in create_index_background_unique_collmod* workloads Created: 27/Sep/19  Updated: 29/Oct/23  Resolved: 21/Nov/19

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 4.2.2

Type: Improvement Priority: Major - P3
Reporter: Maria van Keulen Assignee: Maria van Keulen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-11-04, Execution Team 2019-11-18, Execution Team 2019-12-02
Participants:
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.



 Comments   
Comment by Githook User [ 20/Nov/19 ]

Author:

{'email': 'maria.vankeulen@mongodb.com', 'name': 'Maria van Keulen', 'username': 'mvankeulen94'}

Message: SERVER-43693 Reduce probability of unique index upgrade collMod in tests
Branch: v4.2
https://github.com/mongodb/mongo/commit/ff955b4a97043dab1f562b3c6c77b10965f4a8c7

Generated at Thu Feb 08 05:03:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.