Collection validation may fail to report index inconsistency on only type bits

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Server Integration
    • ALL
    • Execution Team 2024-06-10, Execution Team 2024-06-24, Execution Team 2024-07-08, Execution Team 2024-07-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Say a collection contains document {a: NumberLong(5)} but the corresponding key in the {a: 1} index erroneously has type bits indicating that the value is NumberInt(5). This should be reported as an inconsistency by collection validation, but during the second phase of validation the map of missing index entries is keyed by index key without type bits. Thus is may not end up being reported.

            Assignee:
            Unassigned
            Reporter:
            Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: