[SERVER-18622] listCollections command should special-case filtering by name. Created: 21/May/15 Updated: 17/May/19 Resolved: 13/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Performance, Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Charlie Swanson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||||||
| Sprint: | QuInt A (10/12/15), QuInt B (11/02/15) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently it does all the work for all collections in a namespace, and throws out results from non-matching namespaces. |
| Comments |
| Comment by Charlie Swanson [ 13/Oct/15 ] |
|
Note that this change affects the behavior of the listCollections command. The result is no longer sorted alphabetically by collection name. There are no guarantees on the sort order. The shell helper db.getCollectionInfos(), however, remains sorted alphabetically. |
| Comment by Githook User [ 13/Oct/15 ] |
|
Author: {u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}Message: Note that the listCollections command is no longer guaranteed to return the |