|
Probably a bug in my changes for SERVER-49380. The shell appears to include API params in getMore, which is prohibited. We should test this in api_version_parameters_shell.js. Same for API params in transaction-continuing commands, I bet I made the same mistake.
(This is a bug in the shell's implementation of the current protocol - andreas.braun is considering a change (SERVER-55614) to the protocol that would require getMore to include the same API params as the cursor-creating find/aggregate/etc. command. Same for transaction-continuing commands. If we make that protocol change in the server, the shell might be correct!)
I think api_version_parameters_shell.js doesn't give enough coverage. Consider making new test suites that start the shell with –apiVersion 1 and run jsCore (or something) against mongod and against mongos.
|