Currently query settings are looked up via a query_settings::lookupQuerySettings() free function, which takes QueryShapeHash function as an argument.
Since the number of commands supported by query settings is relatively small, we can avoid passing lambdas and instead have 3 separate methods for each command.
Potentially we could move command specific logic there, if needed
- is related to
-
SERVER-87019 Always calculate the query shape hash
- Closed