-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
Fully Compatible
-
v8.0
-
Service Arch 2024-04-01, Service Arch 2024-04-15, Service Arch 2024-04-29
-
144
generic_argument.idl is used as the canonical list of arguments that all commands can accept. It does not currently contain any type information for any of this arguments, despite the fact that some of these arguments do in fact have types that are enforced. This limitation is why we also have generic_args_with_types.idl (see SERVER-72684).
We should introduce types to the request arguments, so that in SERVER-85791, the IDL-injected arguments will properly parse them and enforce type safety. This also has the benefit of making the C++ code more type safe as well.
Once this work is completed, the majority of what is needed for SERVER-72684 will be done, so we can subsequently complete that as well.
- is depended on by
-
SERVER-85791 Only parse command request once in command processing path
- Closed
- related to
-
SERVER-89754 Fold logical_session_id and optime libraries into server_base
- Backlog
-
SERVER-72684 Deduplicate IDL library used by Async RPC API
- Closed