Support validation repair mode with duplicates on unique indexes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently when there are duplicate documents in the RecordStore but no matching key in a unique index, validate repair mode is unable to insert the missingIndexEntry and thus unable to repair this in validate repair mode.

      In this scenario, we might want to delete the duplicate document.

      This feature is different from SERVER-49507, which only deals with index rebuilds after salvaging data files.

      Also, remove the TODO here.

            Assignee:
            Shin Yee Tan
            Reporter:
            Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: