[SERVER-13192] "show dbs" shell helper is no longer sorted alphabetically Created: 13/Mar/14 Updated: 11/Jul/16 Resolved: 14/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.6.0-rc1 |
| Fix Version/s: | 2.6.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cailin Nelson | Assignee: | Shaun Verch |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
show dbs has always produced an alphabetically sorted listed. This makes it easier to find the information you are looking for. In 2.6.0rc1, the list is no longer sorted. |
| Comments |
| Comment by Githook User [ 14/Mar/14 ] |
|
Author: {u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}Message: |
| Comment by Githook User [ 14/Mar/14 ] |
|
Author: {u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}Message: |
| Comment by Shaun Verch [ 14/Mar/14 ] |
|
cailin.nelson@10gen.com Do you have a reproducible test case for this? It seems to be sorted for me. Were you running this against a mongos or a mongod? I see a "sort" step in the "show dbs" shell helper: https://github.com/mongodb/mongo/blob/r2.6.0-rc1/src/mongo/shell/utils.js#L889 |