summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_main.cpp
diff options
context:
space:
mode:
authorYu Jin Kang Park <yujin.kang@mongodb.com>2022-06-15 13:19:49 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-06 12:17:47 +0000
commit574d60b493f71e6433a784dc3a2a8fd3fed171a1 (patch)
tree0ec8447e2cf81fa33f7729f779afe649ab0f344f /src/mongo/db/mongod_main.cpp
parent02dfedb849374159219251422ada6035333e2c3b (diff)
downloadmongo-574d60b493f71e6433a784dc3a2a8fd3fed171a1.tar.gz
SERVER-55208: Remove nojournal,duroff and evergreen variant
Diffstat (limited to 'src/mongo/db/mongod_main.cpp')
-rw-r--r--src/mongo/db/mongod_main.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/mongod_main.cpp b/src/mongo/db/mongod_main.cpp
index 954761086b3..4c32e81f948 100644
--- a/src/mongo/db/mongod_main.cpp
+++ b/src/mongo/db/mongod_main.cpp
@@ -475,17 +475,6 @@ ExitCode _initAndListen(ServiceContext* serviceContext, int listenPort) {
exitCleanly(EXIT_BADOPTIONS);
}
- // Disallow running WiredTiger with --nojournal in a replica set
- if (storageGlobalParams.engine == "wiredTiger" && !storageGlobalParams.dur &&
- replSettings.usingReplSets()) {
- LOGV2_ERROR(
- 20535,
- "Running wiredTiger without journaling in a replica set is not supported. Make sure "
- "you are not using --nojournal and that storage.journal.enabled is not set to "
- "'false'");
- exitCleanly(EXIT_BADOPTIONS);
- }
-
if (storageGlobalParams.repair && replSettings.usingReplSets()) {
LOGV2_ERROR(5019200,
"Cannot specify both repair and replSet at the same time (remove --replSet to "