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

Implement setClusterParameter on mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-21

    Description

      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.

      1. Ensure that setClusterParameter can be run on mongos by any client with the setClusterParameter ActionType, just as it is permitted on replica set primaries.
      2. 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.
      3. If so, run _configSetClusterParameter on the config primary node and proxy the reply back to the client.
      4. Write a multi-stage integration test that verifies the durability of setClusterParameter and getClusterParameter on sharded clusters across rolling restarts.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: