Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26088

Improve 'Failed global initialization' error for missing MONGO_INITIALIZERS

    XMLWordPrintableJSON

Details

    • Service Arch

    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

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: