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

Please improve the error message in movePrimary()

    • Sharding EMEA
    • Sharding 10 (02/19/16)

      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?

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

              Created:
              Updated:
              Resolved: