[SERVER-62265] Implement setClusterParameter on mongos Created: 24/Dec/21  Updated: 29/Oct/23  Resolved: 18/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

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-03-21
Participants:

 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.


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

Author:

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

Message: SERVER-62265 Add setClusterParameter command to mongos
Branch: master
https://github.com/mongodb/mongo/commit/b1dc7f546a006efa5edf063286e4368ca603fe48

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