Show collections returns empty list

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.8.0-rc1
    • Component/s: Admin, Shell
    • Environment:
      CentOS 6
    • Linux
    • Hide

      1. Create table and collection
      2. run "show tables" in shell

      Show
      1. Create table and collection 2. run "show tables" in shell
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Julian Wissmann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: