In order to support listing collections of databases with a large number of collections, the listCollections command that was introduced in 2.8 will need to be able to return a cursor. Otherwise, it will run into the 16mb document size limit.
More details to follow once the changes needed for SERVER-14707 are specified.
UPDATE: Specs:
- depends on
-
SERVER-14707 listCollections and listIndexes commands should return a cursor
- Closed
-
PHPLIB-45 Collection enumeration methods
- Closed
-
PHPLIB-46 Index enumeration methods
- Closed
-
CXX-441 Support cursor in listCollections command
- Closed
-
RUST-166 Support cursor in listCollections and listIndexes command
- Closed
-
CDRIVER-479 Support cursor in listCollections and listIndexes commands
- Closed
-
CSHARP-1145 Support cursor in listCollections and listIndexes commands
- Closed
-
JAVA-1588 Support cursor in listCollections and listIndexes commands
- Closed
-
NODE-327 Support cursor in listCollections and listIndexes commands
- Closed
-
RUBY-843 Support cursor in listCollections and listIndexes commands
- Closed
-
PYTHON-796 Support cursor in listCollections and listIndexes commands
- Closed
- is related to
-
SERVER-16541 listCollections command result includes system.indexes but not system.namespaces
- Closed
- related to
-
DRIVERS-179 Use listCollections command for helper methods
- Closed