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

addshard command should verify shard server exists

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      do a getlasterror or something to the server to verifiy it exists before adding it, and return an error if not. the following is not so good

      > db.runCommand(

      { addshard : "asdf;kljasdf%$^&*(" }

      )

      {"ok" : 1 , "added" : "asdf;kljasdf%$^&*("}

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: