summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@mongodb.com>2023-01-04 14:54:08 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-06 17:21:28 +0000
commit718bf390c8830b2d7a8d7e306617b525f7d140f7 (patch)
treeaad8a9143ed35581eaa22b1fad4ddfad0ae04d07 /src
parenteb8910b86a503d0756371a9f69af3baf5ebd2044 (diff)
downloadmongo-718bf390c8830b2d7a8d7e306617b525f7d140f7.tar.gz
SERVER-72422 FCBIS may never truncate the oplog (tests)
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/mongod_main.cpp5
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");