-
Type: Bug
-
Resolution: Won't Do
-
Priority: Blocker - P1
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
v6.0
-
QE 2022-05-30
SERVER-58338 made a change that causes the server to return an error (through uassert) if the client attempts to run an OP_QUERY other than isMaster/hello. In this case, the client is running getnonce, which is not in the allowed-list defined by SERVER-58338.
This happens as part of parsing the sourced RPC message and causes the server to close the connection: https://github.com/mongodb/mongo/blob/012db1b7bd4aa161368a28ffdc581ebb102e2fbe/src/mongo/transport/service_state_machine.cpp#L298-L299
The class comment for CmdGetNonce suggests to me the appropriate action will be to add the getnonce command to the allowedOpQueryCommands list.
- is related to
-
SERVER-58338 Return an error if client attempts an OP_QUERY command other than isMaster/hello
- Closed