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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.4
    • Component/s: 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

              Assignee:
              kanchana.sekhar Kanchana Sekhar
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Kanchana Sekhar Kanchana Sekhar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 23 weeks, 2 days ago
                Date of 1st Reply: