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

Verify number of index keys per record in dbCheck

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      We should always expect one index key per record for a specific index. Exceptions include multiKey indexes, where we can expect more than one key, and partial indexes, where we may have zero keys if the filter is not matched, or sparse indexes if the field is null. Therefore, we should generate errors for any unexpected number of keys encountered during the validation process.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: