Currently the shell may issue multiple isMaster commands on the same connection for separate purposes. For instance, it might send one is master response to detect whether the server supports write commands and another to detect whether the server supports the find/getMore/killCursors commands. If the isMaster command was issued once when a connection is opened, these wire protocol version checks would not involve several round trips to the server.
- related to
-
SERVER-21397 Remove min/maxWireVersion in setShardVersion
- Closed