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

Create an observer for server lifecycle events

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2024-09-30

      Currently, there is no idiomatic way to strictly order an event to occur after startup initialization ends (this is when the server logs the startup time statistics, and just before the main thread enters waitForShutdown).

      Add an observer for server lifecycle events, and add support for the lifecycle event of startup having completed. We can add others later as needed (e.g., shutdown starts/completes).

            Assignee:
            james.bronsted@mongodb.com James Bronsted
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: