Implement setClusterParameter on mongos

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Marcos José Grillo Ramirez
              Reporter:
              Varun Ravichandran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: