Older mongodb shells (here v2.6.1) return an empty array on db.getCollectionNames() issued to a mongodb v2.8.0-rc0
The v2.8.0-rc0 shell returns correctly the collection names.
It would be nice if mongodb 2.8.0 returns a result which is compatible for mongodb shells older than 2.8.0, if possible.
This might also be the reason that the latest pymongo (v2.7.2) driver can't read collection names from mongodb 2.8.0-rc0.
See also: https://jira.mongodb.org/browse/PYTHON-790
- is related to
-
PYTHON-790 pymongo 2.7.2 collection_names() returns empty array in mongodb 2.8.0-rc0 with alternative storage engines
- Closed
- related to
-
SERVER-15987 listCollections and getIndexes empty on wiredtiger when using old shell
- Closed