summaryrefslogtreecommitdiff
path: root/src/mongo
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 01:24:08 +0000
commitc8ed1cb8119aedaf03fbd79f2282af975ee2426c (patch)
treecaf9e05b1db00f341aae5b85aa228551ff225ec8 /src/mongo
parent40baa93ce71492b71fe9ace2ccc3ea6fd441c158 (diff)
downloadmongo-c8ed1cb8119aedaf03fbd79f2282af975ee2426c.tar.gz
SERVER-72422 FCBIS may never truncate the oplog (tests)
Diffstat (limited to 'src/mongo')
-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 8c26cca6046..0d9dd3e3f28 100644
--- a/src/mongo/db/mongod_main.cpp
+++ b/src/mongo/db/mongod_main.cpp
@@ -399,6 +399,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");