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

The same shard can be added multiple times

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.1
    • None
    • Sharding
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: