[SERVER-62262] Implement _configSetClusterParameter command Created: 24/Dec/21  Updated: 29/Oct/23  Resolved: 02/Mar/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: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-63431 Implement SetClusterParameterCoordina... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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.


 Comments   
Comment by Githook User [ 02/Mar/22 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-62262 Add _configsvrSetClusterParameter command
Branch: master
https://github.com/mongodb/mongo/commit/7170db5d3802fe5086a36fc90b86212b82fc8163

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