-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Security 2022-02-21, Security 2022-03-07, Security 2022-03-21, Security 2022-04-04
The getClusterParameter command will ensure that clients will be able to retrieve the cached value of a cluster server parameter on any cluster node.
- Define IDL struct for GetClusterParameterReply
- Define getClusterParameter command via IDL
- Allow the command to be run on any server node.
- On mongods, retrieve the cached value of the requested cluster parameters from the global cluster parameter ServerParameterSet.
- On mongos, perform a majority read on the config servers' config.clusterParameters collection to query the requested parameters.
- Ensure that the command can handle a list of parameter names or the '*' syntax to get all cluster server parameters.
- Write an integration test to ensure that both setClusterParameter and getClusterParameter work as expected on both replica sets and sharded clusters and only for the appropriate actionTypes. This test will also ensure that the new API works with RAC.