[DOCS-11960] Docs for SERVER-36208: remove repairDatabase server command and shell helper Created: 13/Aug/18  Updated: 29/Oct/23  Resolved: 13/Sep/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.2

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-36208 remove repairDatabase server command ... Closed
Participants:
Days since reply: 5 years, 18 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

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

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)



 Comments   
Comment by Githook User [ 09/Oct/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11960: 4.2 remove repairDatabase
Branch: master
https://github.com/mongodb/docs/commit/9b13fc80664d6b5e5323581f63c0866d9b2a342d

Comment by Githook User [ 13/Sep/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11960: 4.2 remove repairDatabase
Branch: upcoming-4.2
https://github.com/mongodb/docs/commit/c02eb3a392f46dbc6bbda44de4c2a541e1745147

Generated at Thu Feb 08 08:04:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.