The shell's default read mode should be changed to "compatibility". This will cause the shell to auto-detect whether to use OP_QUERY/OP_GET_MORE or find/getMore commands based on wire version by default.
When this change is made, the resmoke.py suites should be changed to pass "-readMode legacy" or "readMode commands" in order to ensure a particular read protocol. Suites testing legacy configurations such as SCCC mode config servers or legacy write ops should also be configured to use "readMode legacy". All other suites should ensure use of the find/getMore commands via "-readMode commands".
- depends on
-
SERVER-20194 Enable new cursor manager path in mongos for legacy OP_QUERY/OP_GET_MORE/OP_KILLCURSORS query operations
- Closed
- is related to
-
SERVER-20915 Resolve shell readMode on connection open
- Closed
- related to
-
SERVER-17544 find/getMore commands cleanup and testing
- Closed
-
SERVER-20067 Shell should decide whether or not to use find/getMore commands based on on wire protocol version
- Closed