-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
ALL
The server has a concept of "generic arguments", which are arguments that are recognized by all commands. They're defined in the generic_argument.idl IDL file. It appears that mongot doesn't recognize all of these arguments though and will return an error upon encountering them.
To be more compliant with mongod / mongos behavior, mongot should not error when receiving these arguments. To be a bit more selective, mongot could at least not error when receiving arguments typically forwarded to shards. Another alternative would be to just state that this behavior is working as intended, and that we want to be very selective about the arguments we forward to mongot and error loudly when we accidentally do forward them.