[SERVER-83811] Add call to gc() in mongos_large_catalogs.js to ensure that garbage collection happens after collection creation Created: 01/Dec/23 Updated: 01/Dec/23 Resolved: 01/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Wenqin Ye | Assignee: | Wenqin Ye |
| Resolution: | Declined | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Sprint: | Cluster Scalability 2023-12-11 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
If the call to gc() is not made after the collections are created, this can cause a bunch of queued up `endSessions` to stall the workload's `findOne` command from completing. This then skews the timing results making it seem like the `findOne` regressed in performance when it in reality it did not. See https://jira.mongodb.org/browse/BF-29997 for more information. |
| Comments |
| Comment by Wenqin Ye [ 01/Dec/23 ] |
|
Closed as I realized I need to make perf ticket. |