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

listdatabases only shows unsharded dbs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • db version v1.5.4-pre-, pdfile version 4.5
      Thu Jul 1 17:22:35 git version: 1d96219addad2a007375043b06731392fe388bbf
    • ALL

    Description

      > show dbs
      admin
      local
      > use config
      switched to db config
      > db.databases.find()

      { "_id" : "admin", "partitioned" : false, "primary" : "config" } { "_id" : "foo", "partitioned" : true, "primary" : "shard0" } { "_id" : "bar", "partitioned" : true, "primary" : "shard0" } { "_id" : "baz", "partitioned" : true, "primary" : "shard0" } { "_id" : "blort", "partitioned" : true, "primary" : "shard0" } { "_id" : "db1", "partitioned" : true, "primary" : "shard0" } { "_id" : "db22", "partitioned" : true, "primary" : "shard0" } { "_id" : "db3", "partitioned" : true, "primary" : "shard0" }

      > use x
      switched to db x
      > db.y.insert(

      {x:1}

      )
      > show dbs
      admin
      local
      x

      Attachments

        Activity

          People

            alerner Alberto Lerner
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: