addshard command should verify shard server exists

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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 Horowitz (Inactive)
            Reporter:
            Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: