Verify number of index keys per record in dbCheck

XMLWordPrintableJSON

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

      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
            Reporter:
            Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: