[SERVER-40716] Refactor catalog initialization logic on startup Created: 18/Apr/19  Updated: 29/Oct/23  Resolved: 07/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.0-rc2, 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-40717 Remove CollectionCatalogEntry and KVC... Closed
Related
related to SERVER-41583 Refactor Collection and CollectionCat... Closed
is related to SERVER-41478 Take initialization of index catalog ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Storage NYC 2019-05-06, Storage NYC 2019-05-20, Execution Team 2019-06-17
Participants:

 Description   

Currently, startup code initializes collection catalog entries and collection objects in pretty separate places. They should really be initialized at the same time. And the future direction is to merge these two objects/classes.

Also, restartCatalog and startup do share some code which initializes the collection objects but not much. This ticket should also try to figure out what's shared and what's not shared between startup and restartCatalog.



 Comments   
Comment by Githook User [ 19/Jun/19 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-40716 Refactor catalog initialization logic on startup

(cherry picked from commit ac88c6d4c085e72b6f0ae364b8d11dc604627efb)
Branch: v4.2
https://github.com/mongodb/mongo/commit/629f276dbe0a6a65dc51ad237cef31a7e0c516d8

Comment by Githook User [ 07/Jun/19 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-40716 Refactor catalog initialization logic on startup
Branch: master
https://github.com/mongodb/mongo/commit/ac88c6d4c085e72b6f0ae364b8d11dc604627efb

Comment by Louis Williams [ 16/May/19 ]

Code review URL: https://mongodbcr.appspot.com/467520006/

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