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

Document recovery procedure when one shard is dead and not repairable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • v1.3.7
    • manual
    • None

    Description

      When one shard is dead and not repairable, but you want to retain the rest of the shards, how do you do this?

      Tuns out there is no documentation for how to recover in this situation.

      I've crated the below procedure, but MongoDB should have this in the core documentation and properly vetted with correct comands, etc., and fallbacks in case a command doesn't work for some reason (i.e., stale lock).

      http://stackoverflow.com/questions/25490339/mongodb-recover-from-corrupted-shard/25490340#25490340

      Attachments

        Activity

          People

            Unassigned Unassigned
            justanyone Kevin J. Rice
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 1 week, 5 days ago