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

Database repair warning missing context

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      includes/warning-repair.rst:

      Warning: In general, if you have an intact copy of your data, such as would exist on a very recent backup or an intact member of a replica set, do not use repairDatabase or related options like db.repairDatabase() in the mongo shell or mongod --repair. Restore from an intact copy of your data.

      This warning needs to be revised to make clear it's written in the context of suspected corruption.

      Users who visit the db.repairDatabase() helper page in the context of wanting to reclaim disk space or rebalance their indexes will be confused by it.

            Assignee:
            allison.moore@mongodb.com Allison Reinheimer Moore
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 35 weeks, 4 days ago