[SERVER-62261] Implement getClusterParameter command Created: 24/Dec/21  Updated: 29/Oct/23  Resolved: 04/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Varun Ravichandran Assignee: Varun Ravichandran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2022-02-21, Security 2022-03-07, Security 2022-03-21, Security 2022-04-04
Participants:

 Description   

The getClusterParameter command will ensure that clients will be able to retrieve the cached value of a cluster server parameter on any cluster node.

  1. Define IDL struct for GetClusterParameterReply 
  2. Define getClusterParameter command via IDL
  3. Allow the command to be run on any server node.
  4. On mongods, retrieve the cached value of the requested cluster parameters from the global cluster parameter ServerParameterSet.
  5. On mongos, perform a majority read on the config servers' config.clusterParameters collection to query the requested parameters.
  6. Ensure that the command can handle a list of parameter names or the '*' syntax to get all cluster server parameters.
  7. 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.

 



 Comments   
Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-62261: Implement getClusterParameter command on mongod and mongos
Branch: master
https://github.com/mongodb/mongo/commit/fe488bc9f33d81fbc77f179b4e77effc4f0844fc

Generated at Thu Feb 08 05:54:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.