The flow of set-/removeQuerySettings commands (on mongos) need to be modified as follows:
- upon success or failure → refresh the parameter cache https://github.com/10gen/mongo/blob/e0bb873df809c28503df3d5bae8ddfb77451542e/src/mongo/idl/cluster_server_parameter_refresher.h#L75
- upon failure, retry a single time after the parameters being refreshed
We can also clean up the tests, as we will no longer need to update the 'clusterServerParameterRefreshIntervalSecs' parameter.
This also implies that we may remove the 'does_not_support_stepdowns' tag, as the reason it was added is due to setting the 'clusterServerParameterRefreshIntervalSecs' in tests
- is depended on by
-
SERVER-77463 Implement setQuerySettings command
- Closed
- is related to
-
SERVER-78801 Ensure cluster-wide parameters mechanism correctness (when working with query settings parameter)
- Closed
- related to
-
SERVER-82432 Adjust the 'clusterServerParameterRefreshIntervalSecs' in query settings related tests to avoid suite timeouts
- Closed