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

Block based API doesn't update reference when iterating on new simple8b blocks

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • ALL
    • QI 2024-03-18

      In the block based API when we decompress simple8b blocks if we see a 0 delta value we either will append the reference object or the last value. If we see a 0 delta before seeing any delta values we know that we can append the reference object. However, as we begin and end simple8b blocks the original reference object doesn't matter anymore. We begin a new simple8b block and the first value has a 0 delta. The iterator API interprets that as appending the last value decompressed. However, the block-based API will append the reference object, which is wrong.

            Assignee:
            gil.alon@mongodb.com Gil Alon
            Reporter:
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: