summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-11-05 13:30:57 -0500
committerEric Milkie <milkie@10gen.com>2014-11-05 13:31:03 -0500
commitecd562289fa27fcd50fb63c3d1cfb0925c5ae2f9 (patch)
tree093a2a92c6e5dd3a8723e5772e68f745a5ac3a12
parenta186f6756c4e80fef5d0c3dd2a458a1af3e0d226 (diff)
downloadmongo-ecd562289fa27fcd50fb63c3d1cfb0925c5ae2f9.tar.gz
SERVER-15970 --durOptions was not working
-rw-r--r--src/mongo/db/mongod_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp
index 96aaa593bfe..9e3b2024c67 100644
--- a/src/mongo/db/mongod_options.cpp
+++ b/src/mongo/db/mongod_options.cpp
@@ -675,11 +675,11 @@ namespace mongo {
if (!ret.isOK()) {
return ret;
}
- ret = params->set("storage.mmapv1.journal.debugFlags", moe::Value(durOptions));
+ ret = params->remove("durOptions");
if (!ret.isOK()) {
return ret;
}
- ret = params->remove("durOptions");
+ ret = params->set("storage.mmapv1.journal.debugFlags", moe::Value(durOptions));
if (!ret.isOK()) {
return ret;
}