|
After the _configSetClusterParameter has been implemented in SERVER-62262, the mongos version of setClusterParameter should be implemented. This will complete support for setting cluster parameters on sharded clusters.
- Ensure that setClusterParameter can be run on mongos by any client with the setClusterParameter ActionType, just as it is permitted on replica set primaries.
- Validate the request by checking whether or not the parameter name corresponds to a valid cluster parameter and if the corresponding value matches the acceptable range.
- If so, run _configSetClusterParameter on the config primary node and proxy the reply back to the client.
- Write a multi-stage integration test that verifies the durability of setClusterParameter and getClusterParameter on sharded clusters across rolling restarts.
|