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

The same shard can be added multiple times

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      Calling addShard multiple times results in:

      > db.runCommand(

      {listshards:1}

      )
      {
      "shards" : [

      { "_id" : "shard0", "host" : "localhost:10000" }

      ,

      { "_id" : "shard1", "host" : "localhost:10000" }

      ,

      { "_id" : "shard2", "host" : "localhost:10001" }

      ],
      "ok" : 1
      }

      ...which I don't think makes a lot of sense.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: