Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8468

remove shard { "ok" : 0, "errmsg" : "clone failed" }

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      In a cluster we have two shards.
      When i try to remove one of the shard i got the below message:

      "note" : "you need to drop or movePrimary these databases",
      "dbsToMove" : [
      "test"
      ],
      "ok" : 1

      Hence i tried to move the test DB to shard1:
      db.runCommand(

      { movePrimary : " test", to : "shard1" }

      )

      { "ok" : 0, "errmsg" : "clone failed" }

      I got the above message,any suggestion please.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            manjunath Manjunath Marisetty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 28 weeks ago