summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r--src/mongo/db/mongod_options.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp
index 73ff0f85fcf..161475d567b 100644
--- a/src/mongo/db/mongod_options.cpp
+++ b/src/mongo/db/mongod_options.cpp
@@ -445,7 +445,8 @@ Status addMongodOptions(moe::OptionSection* options) {
"declare this is a config db of a cluster; default port 27019; "
"default dir /data/configdb")
.setSources(moe::SourceAllLegacy)
- .incompatibleWith("shardsvr");
+ .incompatibleWith("shardsvr")
+ .incompatibleWith("nojournal");
sharding_options
.addOptionChaining("shardsvr",