Improve 'Failed global initialization' error for missing MONGO_INITIALIZERS

XMLWordPrintableJSON

    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: