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

Investigate changes in SERVER-41965: Change repair to only rebuild indexes on repaired collections

    XMLWordPrintableJSON

Details

    Description

      Description

      Downstream Change Summary
      • Repair now performs a full collection validation. Repair previously only called WT verify() to verify data file integrity. Now it also checks for inconsistencies between a collection and its indexes.
      • Repair will not rebuild a collection's indexes unless collection validation fails or if the collection was salvaged by WT

      Description of Linked Ticket

      At present, --repair will unconditionally rebuild all indexes. There should be a parameter that disables this behavior and only rebuilds indexes on collections that have been salvaged and may have modified data or collections with indexes that fail validation.

      Since index builds are very slow, this would be helpful for very large installations that only need to repair a single collection out of many.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kanchana.sekhar@mongodb.com Kanchana Sekhar
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 32 weeks, 6 days ago