[SERVER-16361] Show collections returns empty list Created: 01/Dec/14 Updated: 01/Dec/14 Resolved: 01/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Shell |
| Affects Version/s: | 2.8.0-rc1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Julian Wissmann | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | wiredtiger | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 6 |
||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Steps To Reproduce: | 1. Create table and collection |
||||||||
| Participants: | |||||||||
| Description |
|
When running show collections (show tables, db.getCollectionNames()), the result is always empty (on sharded, as well as non-sharded collections). However I can verify the collections existence by getting a cursor on its data (db.collection.find())m which works just fine. The setup is a sharded testsetup with 3 shards, each having an arbiter, three config servers and a mongos. The problem occurs on the mongos as well as on individual shards. |
| Comments |
| Comment by Ramon Fernandez Marina [ 01/Dec/14 ] |
|
You're welcome juwi. Please let us know if you run into other issues with the 2.8.0 release candidates. Regards, |
| Comment by Julian Wissmann [ 01/Dec/14 ] |
|
Yes indeed! Shell Versoin 2.6.4. So basically I forgot replacing the shell. My bad, then. Thanks for the quick resolution! |
| Comment by Ramon Fernandez Marina [ 01/Dec/14 ] |
|
Can you please check the version of the shell you're using? There's a known issue ( |