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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • 2.0.1
    • Replication, Sharding
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: