-
Type:
Bug
-
Status: Closed
-
Priority:
Minor - P4
-
Resolution: Fixed
-
Affects Version/s: 3.2.0-rc4
-
Labels:
-
Backwards Compatibility:Fully Compatible
-
Operating System:ALL
-
Backport Completed:
-
Steps To Reproduce:
-
Sprint:Query 2016-11-21
When using the 3.2.0 RC4 shell to query against a 2.6 or 3.0 mongod/mongos, the shell always returns the following warning:
$ mongo --quiet localhost:27017/test -eval 'db.test.find();'
|
Cannot use 'commands' readMode, degrading to 'legacy' mode
|
I would suggest that this error should be suppressed when running in batch mode using --quiet, as it will disrupt scripts that depend on generating output in a certain shape (e.g. XML or JSON). It's less important when running in interactive mode.
mongos version | mongod version | Produces Warning |
---|---|---|
3.2.0 RC4 | 2.6.11 | Yes |
3.2.0 RC4 | 3.0.7 | Yes |
3.2.0 RC4 | 3.2.0 RC4 | No |
- related to
-
SERVER-20915 Resolve shell readMode on connection open
-
- Open
-