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

Change repair to only rebuild indexes on repaired collections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: 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

      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.

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

              Created:
              Updated:
              Resolved: