[SERVER-1090] db.getCollectionNames() fails if too many collection Created: 05/May/10 Updated: 12/Jul/16 Resolved: 05/May/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.2 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Nicolas Fouché | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
all |
||
| Participants: |
| Description |
|
The function db.getCollectionNames() sorts the collections by name. But sorting on too many elements raises a "field not indexed" error. |
| Comments |
| Comment by auto [ 05/May/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: do collection sorting client side |