The same shard can be added multiple times

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Horowitz (Inactive)
              Reporter:
              Kristina Chodorow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: