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

addshard command should verify shard server exists

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.0
    • None
    • Sharding
    • None

    Description

      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%$^&*("}

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: