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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.4
    • manual

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 13 weeks, 6 days ago