Handle multikey indexes in missing index keys check

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Repl 2023-11-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Aiden Szeto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: