[SERVER-26088] Improve 'Failed global initialization' error for missing MONGO_INITIALIZERS Created: 13/Sep/16  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Internal Code, Sharding
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:

 Description   

The current error only surfaces at runtime, and is fairly cryptic:

Failed global initialization: BadValue AllFailPointsRegistered

Maybe some info about sortedNodes[i] can be returned in this part of Initializer::execute:

https://github.com/mongodb/mongo/blob/6dcdd23dd37ef12c87e71cf59ef01cd82432efe0/src/mongo/base/initializer.cpp#L56-L60



 Comments   
Comment by Esha Maharishi (Inactive) [ 01/Nov/20 ]

Oh whoops, didn't realize it got put into the service arch wfbf sprint. Re-opening so service arch can handle it as they see fit.

Comment by Esha Maharishi (Inactive) [ 01/Nov/20 ]

This is an old cleanup ticket that wouldn't be scheduled independently. It may get done as part of other work.

Comment by Kaloian Manassiev [ 17/Oct/19 ]

Moving this out of the sharding neweng backlog, because the intitialisers framework is not under the purview of the sharding team.

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