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

mongos does bad things when adding replica sets with same name as shard

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: 2.0.1
    • Component/s: Replication, Sharding
    • Labels:
      None
    • ALL

      If you add a shard with a name of a replica set which already exists as a shard (and has a different name), the addShard command returns false and no new shard is added, but the existing shard's replica set is strangely replaced by the failing addShard's host.

      Should also make sure our other handling of shard vs. replica set names is sane.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: