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

XMLWordPrintableJSON

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

      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
              Reporter:
              Yuhong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: