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

collMod doesn't handle no-op unique conversion correctly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-03-21
    • 34

    Description

      The check on prepareUnique field should only happen when the operation is not a no-op. We should also add test coverage for this case.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: