[SERVER-65313] Use BatchedCollectionCatalogWriter during startup recovery Created: 06/Apr/22  Updated: 29/Oct/23  Resolved: 07/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0, 5.0.10

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-66757 [5.0] Quadratic behavior initializing... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Execution Team 2022-04-18
Participants:
Linked BF Score: 167

 Description   

To avoid invariant that we are not in an active WUOW to trip when requesting writable collections.



 Comments   
Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-65313 Use BatchedCollectionCatalogWriter during startup recovery

Avoids quadratic behavior when initializing Databases/Collections.

(cherry picked from commit 3567535c340e69feeadbb0866f8019a6d84e355c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/7ab46d9a84f4d0ea22ff412b690fc03497a21df3

Comment by Githook User [ 07/Apr/22 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-65313 Use BatchedCollectionCatalogWriter during startup recovery

This allows writable Collections to be requested any time during
startup recovery without being in an active WUOW.
Branch: master
https://github.com/mongodb/mongo/commit/3567535c340e69feeadbb0866f8019a6d84e355c

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