We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723f308 commit 2d67924Copy full SHA for 2d67924
src/mongo/db/storage/wiredtiger/wiredtiger_options_init.cpp
@@ -43,9 +43,11 @@ namespace mongo {
43
44
// Make --syncdelay (syncPeriodSecs in mmapv1) an alias for checkpointDelaySecs in WT
45
moe::Value syncdelayVal;
46
- // syncPeriodSecs is always set since it has a default.
47
- invariant(moe::startupOptionsParsed.get("storage.mmapv1.syncPeriodSecs",
48
- &syncdelayVal).isOK());
+ // syncPeriodSecs is always set since it has a default, for mongod.
+ if (!moe::startupOptionsParsed.get("storage.mmapv1.syncPeriodSecs",
+ &syncdelayVal).isOK()) {
49
+ return Status::OK();
50
+ }
51
// Ignore override if set to default of 60.
52
if (syncdelayVal.equal(moe::Value(60.0))) {
53
return Status::OK();
0 commit comments