As part of SERVER-77464 setQuerySettings command is calling setClusterParameter command on itself for further processing.
In order to avoid the setClusterParameter command to go through the DBDirectClient, a weak function was introduced that corresponds to the implementation of the setClusterParameter command invocation. This weak function is registered for both mongos and mongod implementations.
Since setClusterParameterCommand classes (for both mongos and mongod implementations) are relatively same and only differentiate with the invocation body, the idea behind this is ticket is to refactor it by introducing a new base class and in the derived classes just override the command invocation with the weak function call.
charlie.swanson@mongodb.com proposed this as part of the code review in this comment.
- is caused by
-
SERVER-77463 Implement setQuerySettings command
- Closed