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

Implement _configSetClusterParameter command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      The _configSetClusterParameter command will be an internal command that is only accepted on config server primary nodes. It will instantiate the SetClusterParameterCoordinatorService to coordinate durably storing the provided parameter on a majority of nodes on all shard + config server replica sets. 

      1. Define _configSetClusterParameter command via IDL
      2. Implement behavior such that it is only accepted on the config server primary node.
      3. Ensure that it can only be run by the internal system user so that 
      4. Serialize such that only 1 command can run on the node at a time. The running command will instantiate the POS and wait for its response to reply with. All requests that come in-between will fail with ConflictingOperationInProgress.
      5. Write an integration test to ensure that this command functions as expected when run directly on a config server primary.

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

              Created:
              Updated:
              Resolved: