[SERVER-73607] Make improvements to FCV startup code Created: 03/Feb/23  Updated: 21/Feb/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

It can be confusing to know where to put startup code. We should make a "do startup things after FCV is initiated" function so people know where to put those checks.

We should also look into renaming fassertInitializedAfterStartup since it is misleading and might not apply to replica sets. Replica set members only initialize their FCV version after replSetInitiate has been run. and so fassertInitializedAfterStartup() being called by mongod_main.cpp isn't relevant for them


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