Block based API should check scaleIndex for 128 bit encodings

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • QI 2024-04-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-88207 added logic so that we decompress BinData values as literals for sizes larger than 16. However, we do an extra check when decompressing literals for the scale index factor which we don't do when decompressing int28 encodings like BinData. Therefore, the new API has an uassert that doesn't exist in the iterator API when decompressing BinData. This causes a difference in behavior, which the fuzzer found. We should avoid this scale index check when we decompress BinData literals.

            Assignee:
            Gil Alon
            Reporter:
            Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: