-
Type: Sub-task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2024-07-22, QE 2024-08-05, QE 2024-08-19, QE 2024-09-02, QE 2024-09-16
Every command in MongoDB supports 'generic arguments', one of those is 'comment' field (https://github.com/10gen/mongo/blob/83a6e0f7a03ced072a7e75522b778799e114a6ab/src/mongo/idl/generic_argument.idl#L126-L130)
While setQuerySettings command is no exception, as part of this task we would want to add the 'comment' field to the settings, as opposed to the command.
This way, when listing the settings via $querySettings agg stage, we can see the corresponding 'comment' field associated with settings