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

investigate condition in collMod unique index conversion code during tenant migration for duplicate checks

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

      When collMod is converting an index to unique, it needs to scan the index for duplicates before proceeding with the conversion. In SERVER-61159, we determine if it is possible to skip this check based on the current oplog application mode. Since tenant migration and initial sync present the same mode to the collMod implementation, we should investigate if it is still safe to skip the duplicate checking in the tenant migration case.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: