[SERVER-62618] Avoid quadratic behavior at startup with many collections Created: 13/Jan/22  Updated: 21/Jan/22  Resolved: 14/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.6, 5.2.1

Type: Improvement Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Dan Larkin-York
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Related
related to SERVER-56634 Performance workloads for server startup Closed
related to SERVER-58736 Avoid quadratic behavior in rollback ... Closed
Backport Requested:
v5.2, v5.0
Sprint: Execution Team 2022-01-24
Participants:
Case:

 Description   

During startup, the global lock is held, and we can make use of the batch writer functionality added to the CollectionCatalog by SERVER-58736 to avoid copying the full catalog each time we add a collection to it.



 Comments   
Comment by Githook User [ 21/Jan/22 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-62618 Avoid quadratic behavior at startup with many collections
Branch: v5.0
https://github.com/mongodb/mongo/commit/212a8dbb47f07427dae194a9c75baec1d81d9259

Comment by Githook User [ 21/Jan/22 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-62618 Avoid quadratic behavior at startup with many collections
Branch: v5.2
https://github.com/mongodb/mongo/commit/304234ec32b5bfea937126602d76f8a2cc2a301e

Comment by Githook User [ 14/Jan/22 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-62618 Avoid quadratic behavior at startup with many collections
Branch: master
https://github.com/mongodb/mongo/commit/680b5937a0d616cca73f94b7a17f4e9972686f4d

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