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

Prohibit config server replica sets from being added as shards

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 7 08/10/15

      We should adjust the addShard code so that it refuses to add CSRS replica sets as shards. It should detect that the node is a config server by running replSetGetStatus, and in addition to checking for “info: configsvr”, it should also detect “configServer: true” and reject adding shards that report that.

      To that end, replSetGetStatus should also report configServer: true as a top level field if the replica set config document indicates that the replica set is for a config server per SERVER-19524.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: