Add call to gc() in mongos_large_catalogs.js to ensure that garbage collection happens after collection creation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Declined
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Cluster Scalability 2023-12-11
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Wenqin Ye
            Reporter:
            Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: