listDatabases doesn't include sharded databases without collections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: 4.0.22, 4.4.3, 4.2.12, 4.9.0-alpha4
    • Component/s: Sharding
    • Sharding EMEA
    • ALL
    • Hide

      Apply the following patch and run jstests/sharding/listDatabases.js

      list_datatabases.patch

      Show
      Apply the following patch and run jstests/sharding/listDatabases.js list_datatabases.patch
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The listDatabases command doesn't reports databases that have been created through the enableSharding command that do not contains any collections yet.

            Assignee:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: