[SERVER-64985] typo in kill_rooted_or.js concurrency workload Created: 28/Mar/22  Updated: 29/Oct/23  Resolved: 14/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-36865 make fsm workloads that extend kill_r... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2022-04-18
Participants:

 Description   

This line of code in the kill_rooted_or.js concurrency workload is subtly wrong:

populateIndexes(db[this].collName, this.indexSpecs);

The closing square bracket is in the wrong place. It should be written like so:

populateIndexes(db[this.collName], this.indexSpecs);

The workload still passes, but it is not doing what it was originally intended to do. As written, the call to populateIndexes() builds indexes on a collection named something like "[object Object].collName" as opposed to the collection named "kill_rooted_or" against which all the other test operations occur. We should fix the workload to build indexes against the correct collection.



 Comments   
Comment by Githook User [ 14/Apr/22 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-64985 Build indexes against the correct collection in kill_rooted_or.js concurrency workload
Branch: master
https://github.com/mongodb/mongo/commit/d59021f77b25329f8dca1dce214b32aff4505503

Generated at Thu Feb 08 06:01:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.