Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
Description
Documentation Request Summary:
No documentation summary in engineering ticket
Scope of changes:
- listCollections cmd
- db.getCollectionInfos()
- db.getCollectionNames() – just blurb that no locks
- check /reference/program/mongoreplay example that includes listcollection
- relnotes
Impact to other docs outside of this product:
None
MVP:
Resources:
Engineering Ticket Description:
Currently the listCollections command needs to lock all collections to return their information. However, often only names are necessary. So, improve the listCollections command to support a nameOnly option like listDatabases and only require a MODE_IS lock on the database for that command.
Attachments
Issue Links
- documents
-
SERVER-34244 listCollections should support a nameOnly option
-
- Closed
-
- related to
-
DOCS-11642 Docs for SERVER-34243: listCollections should not require a MODE_S database lock
-
- Closed
-
-
DOCS-11718 Docs for SERVER-32942: mongo shell: for users authorized to certain namespace, make discovery easy
-
- Closed
-