diff options
author | Eric Milkie <milkie@10gen.com> | 2014-11-05 13:30:57 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-11-05 13:31:03 -0500 |
commit | ecd562289fa27fcd50fb63c3d1cfb0925c5ae2f9 (patch) | |
tree | 093a2a92c6e5dd3a8723e5772e68f745a5ac3a12 | |
parent | a186f6756c4e80fef5d0c3dd2a458a1af3e0d226 (diff) | |
download | mongo-ecd562289fa27fcd50fb63c3d1cfb0925c5ae2f9.tar.gz |
SERVER-15970 --durOptions was not working
-rw-r--r-- | src/mongo/db/mongod_options.cpp | 4 |
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; } |