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

Skip old-format check when removing keys on new-format unique indexes

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • v8.0
    • Execution Team 2024-04-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We perform an unnecessary key lookup when deleting a key that does not exist here. This can happen for partial indexes.

      When we know the unique index cannot have old-format keys, we should avoid this extra lookup.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: