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

listDatabases doesn't include sharded databases without collections

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 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

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

        1. list_datatabases.patch
          0.8 kB
          Tommaso Tocci

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: