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

Please improve the error message in movePrimary()

    XMLWordPrintable

Details

    • Sharding 10 (02/19/16)

    Description

      A user tried to drain a shard and was moving a database which was primary on that shard. The move was unsuccessful as the nagios plugin they were using created a database in each shard with the same name and db.printShardingStatus() was incorrectly claiming that the shard to be drained was the only shard. When they tried to run movePrimary() this was the error message"

      "errmsg" : "clone failed"

      Can this error message be improved so that it provides a better indication as to what the error might be?

      Attachments

        Activity

          People

            backlog-server-sharding-emea Backlog - Sharding EMEA
            angshuman.bagchi@mongodb.com Angshuman Bagchi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: