[SERVER-48738] Document Server-Internal Startup and Shutdown Created: 11/Jun/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Benjamin Caimano (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

Issue Links:
Related
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Our startup and shutdown procedure is extensive. The relevant code lives in the following directories:

  • src/mongo/base
  • src/mongo/db
  • src/mongo/db/commands
  • src/mongo/s
  • src/mongo/s/commands
  • src/mongo/util

There are several important topics:

  • Exit helper functions.
  • The shutdown commands for both mongod and mongos.
  • Program mains for both mongod and mongos.
  • The MONGO_INITIALIZER subsystem.

Since this spans multiple directories, we should add a new markdown file in docs/.

This is intended to be abstract documentation, describe relationships and state transitions not code in common language.


Generated at Thu Feb 08 05:17:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.