-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
Repl 10 (02/19/16)
if (params.count("replication.enableMajorityReadConcern")) { replSettings.setMajorityReadConcernEnabled(true); }
This code should be using the value of the parameter to call setMajorityReadConcernEnabled, not a hardcoded "true".
Right now, if you specify {replication
} in a config file, it actually turns the option on.