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

[POC] Enforce uniqueness constraint early during collMod converting index to unique

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Execution Team 2022-01-24, Execution Team 2022-02-07

      Currently we install a concurrent writes tracker while scanning the index for duplicates while only holding an IX lock. We would like to reject those concurrent writes if they have any violations on the uniqueness constraint right away instead of letting collMod handle them.

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

              Created:
              Updated:
              Resolved: