Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62261

Implement getClusterParameter command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Security 2022-02-21, Security 2022-03-07, Security 2022-03-21, Security 2022-04-04

    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.

       

      Attachments

        Activity

          People

            varun.ravichandran@mongodb.com Varun Ravichandran
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: