-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Repl 2022-02-21, Repl 2022-03-07, Repl 2022-03-21, Repl 2022-04-04, Repl 2022-04-18
As specified here: https://docs.mongodb.com/manual/reference/replica-configuration/#mongodb-rsconf-rsconf.settings.getLastErrorModes Custom-named write concerns can be set in the config, and then used as the default write concern. Currently, we can have the case where the default write concern is a custom write concern, and then the replica set is reconfigured to remove the custom write concern, so we are left with an invalid default write concern. Checks should be added to ensure such a reconfig fails.
- related to
-
SERVER-60817 setDefaultRWConcern accepts invalid write concern options
- Closed
-
SERVER-64309 Modify the server to support the setRWConcernDefault command directly against shardsvrs
- Closed