Construct the global ServiceContext inside a MONGO_INITIALIZER

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Longer term, the goal is to construct ServiceContext instances after execution of MONGO_INITIALIZERS completes. Doing this requires that developers be able to register extra actions to take on each ServiceContext's construction and destruction, and that registration naturally belongs inside MONGO_INITIALIZERS. This task is to partially revert the work that caused the global ServiceContext to be constructed before execution of MONGO_INITIALIZERS, in such a way that enables the longer term goal.

            Assignee:
            Andy Schwerin
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: