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

Skip checking side writes if the index has been already rejecting duplicates during collMod converting to unique

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-02-21

    Description

      We can skip checking the concurrent writes or just do not install the side write tracker if disallowNewDuplicateKeys=true. But we will need to make sure that the index pointer is not changed between the two times we acquire the locks.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: