diff options
Diffstat (limited to 'src/mongo/db/mongod_main.cpp')
-rw-r--r-- | src/mongo/db/mongod_main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/mongod_main.cpp b/src/mongo/db/mongod_main.cpp index 39dd91a5d39..ed3b063d2d6 100644 --- a/src/mongo/db/mongod_main.cpp +++ b/src/mongo/db/mongod_main.cpp @@ -393,6 +393,11 @@ void registerPrimaryOnlyServices(ServiceContext* serviceContext) { MONGO_FAIL_POINT_DEFINE(shutdownAtStartup); +// Important: +// _initAndListen among its other tasks initializes the storage subsystem. +// File Copy Based Initial Sync will restart the storage subsystem and may need to repeat some +// of the initialization steps within. If you add or change any of these steps, make sure +// any necessary changes are also made to File Copy Based Initial Sync. ExitCode _initAndListen(ServiceContext* serviceContext, int listenPort) { Client::initThread("initandlisten"); |