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

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL

      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 Unassigned
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: