Iterator API and path decoding API will return different results for certain invalid BSONColumns

XMLWordPrintableJSON

    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0
    • Execution Team 2024-07-22
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Found while investigating BF-33927. The input below will result in an error in the iterator API, but not the decoding path API.

      base64 input:

      8jIAAAAHVvkCAAEAAAAAAgABAAAAAAxTdGNydHVfaWQAAQAAAAABMg5faWQAAQAAAAAA/wD/AP8Aj4+Pj4+Pj4+Pj4+Pj4+Pj4//AP8A/wD/AP8A/wD/AP8A/wCPj4+Pj4+Pj4+PAAD/AP8A/wD/AP8A/wCPj4+Pj4+Pj49vj4+Pj4+Pj/8A/041j4+Pj4+Pj4+Pj48BAFXeV6t2AI+Pj4+Pj4+Pj4+Pj8SPj4+Pj4+Pj4//AP8A/wD/AP8A/wAA

      The fuzzer test will fail with the following message:

      Returned results are not equal. Iterator API returned Location8902201: Invalid BSON Column interleaved encoding. The block based API returned results

       

              Assignee:
              Binh Vo
              Reporter:
              Gil Alon
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: