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

Return all duplicates when trying to convert to a unique index

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • v4.2
    • Execution Team 2021-11-15, Execution Team 2021-11-29

    Description

      We should return the id and duplicate key of all the documents violating the uniqueness constraints when scanning the index before converting it and throw CannotEnableIndexConstraint

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: