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

Support validation repair mode with duplicates on unique indexes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • 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

    Description

      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.

      Attachments

        Activity

          People

            shinyee.tan@mongodb.com Shin Yee Tan
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: