Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41965

Change repair to only rebuild indexes on repaired collections

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • None
    • Fully Compatible
    • Execution Team 2019-12-16, Execution Team 2019-12-30, Execution Team 2020-01-13, Execution Team 2020-01-27, Execution Team 2020-02-10, Execution Team 2019-12-30

    Description

      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.

      Attachments

        Activity

          People

            daniel.ernst@mongodb.com Daniel Ernst
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: