Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16361

Show collections returns empty list

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.8.0-rc1
    • Component/s: Admin, Shell
    • Labels:
    • 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

      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 Unassigned
            Reporter:
            juwi Julian Wissmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: