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

Docs for SERVER-36208: remove repairDatabase server command and shell helper

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      ----------------------------

      Original Description

      Description:

      The repairDatabase command has been removed. Documentation should be updated to reflect that fact. The following commands are available as alternatives:

      • To compact data, use the 'compact' command.
      • To rebuild indexes, use the 'reIndex' command.
      • To recover data, follow the process for recovering data offline here: http://dochub.mongodb.org/core/repair

      Engineering Ticket Description:

      Repair should only be done via command line repair mechanism.

      repairDatabase command should be removed.

      Compact command should be used if collections need to be compacted.

      ----------------------------

      Scope of changes (files that need work and how much)

      • 4.2
      • 4.2-compat
      • redirects

      Remove Files

      • source/reference/command/repairDatabase.txt
      • source/reference/method/db.repairDatabase.txt
      • source/includes/apiargs-dbcommand-repairDatabase-field.yaml
      • source/includes/ref-toc-method-database.yaml
      • source/includes/ref-toc-command-administration.yaml

      Remove repairDatabase behavior references

      • source/reference/built-in-roles.txt
      • source/reference/privilege-actions.txt
      • source/core/data-model-operations.txt
      • source/core/index-creation.txt
      • source/faq/concurrency.txt
      • source/faq/replica-sets.txt
      • source/includes/fact-index-key-length-operation-behaviors.rst
      • source/reference/system-roles-collection.txt

      Update with mongod --repair

      • source/includes/warning-repair.rst
      • source/includes/note-repair.rst
      • source/includes/options-mongod.yaml

      Update old mentions

      • source/release-notes/2.0.txt
      • source/release-notes/2.4-index-types.txt
      • source/release-notes/2.4-upgrade.txt
      • source/release-notes/2.6-compatibility.txt

      Impact to other docs outside of this product

      https://docs.opsmanager.mongodb.com/current/faq/index.html#how-do-i-perform-maintenance-on-a-replica-set-with-backup-enabled
      https://docs.cloudmanager.mongodb.com/faq/index.html#how-do-i-perform-maintenance-on-a-replica-set-with-backup-enabled

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 29 weeks, 1 day ago