[SERVER-61178] Use less concurrency in find_cmd_with_indexes_timeseries.js Created: 02/Nov/21  Updated: 29/Oct/23  Resolved: 02/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.5, 5.1.1

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

Issue Links:
Backports
Depends
Related
is related to SERVER-54714 Concurrency workloads for queries on ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.1, v5.0
Sprint: Execution Team 2021-11-15
Participants:
Linked BF Score: 35

 Description   

This test is currently using 15 threads but that may be too much for this workload to handle. The test can take up to 20 minutes to run and the execution logs contain this message ~1,700 times:

[fsm_workload_test:find_cmd_with_indexes_timeseries] [tid:9, conn:conn5341] Retrying the dropIndexes command because a background operation is in progress (attempt 17): {
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	"ok" : 0,
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	"errmsg" : "cannot perform operation: an index build is currently running for collection with UUID: 0dfea18c-6fc6-4cc6-ae1c-1cdb6fa5dc99",
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	"code" : 12587,
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	"codeName" : "BackgroundOperationInProgressForNamespace",
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	"$clusterTime" : {
[fsm_workload_test:find_cmd_with_indexes_timeseries] 		"clusterTime" : Timestamp(1630184690, 2),
[fsm_workload_test:find_cmd_with_indexes_timeseries] 		"signature" : {
[fsm_workload_test:find_cmd_with_indexes_timeseries] 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
[fsm_workload_test:find_cmd_with_indexes_timeseries] 			"keyId" : NumberLong(0)
[fsm_workload_test:find_cmd_with_indexes_timeseries] 		}
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	},
[fsm_workload_test:find_cmd_with_indexes_timeseries] 	"operationTime" : Timestamp(1630184689, 6)
[fsm_workload_test:find_cmd_with_indexes_timeseries] }



 Comments   
Comment by Githook User [ 09/Nov/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61178 Use less concurrency in find_cmd_with_indexes_timeseries.js

(cherry picked from commit 18e4ac84db47e93dcbbfeffec798e9f746b15f9d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/72b892503effaa83a6494121637a61f505e76c98

Comment by Githook User [ 09/Nov/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61178 Use less concurrency in find_cmd_with_indexes_timeseries.js

(cherry picked from commit 18e4ac84db47e93dcbbfeffec798e9f746b15f9d)
Branch: v5.1
https://github.com/mongodb/mongo/commit/5246342c43c9af23393140a87b5fdfdbfe65ffdf

Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-61178 Use less concurrency in find_cmd_with_indexes_timeseries.js
Branch: master
https://github.com/mongodb/mongo/commit/18e4ac84db47e93dcbbfeffec798e9f746b15f9d

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