Operational Defect Database

BugZero found this defect 23 days ago.

MongoDB | 2655322

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

Last update date:

4/26/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

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.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...