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

Handle multikey indexes in missing index keys check

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Replication
    • Repl 2023-11-27

    Description

      The missing index keys check uses findLoc to retrieve the record ID of a keystring. findLoc returns the RecordId of the first key whose prefix matches the keystring, so we may overlook a missing index key for fields that have identical values. 

      To check for this, we can verify that the length of the expected index keys is equal to the number of unique keystrings we retrieve

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            aiden.szeto@mongodb.com Aiden Szeto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: