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

Remove BufBuilder from Simple8b builder

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-08-09

    Description

      BSONColumnBuilder will store Simple8b blocks in a higher level binary stream. This stream we will keep track of how many consecutive Simple8b blocks we have with a 4 bit count, meaning there can be a maximum of 16 consecutive blocks.

      To avoid using too many temporary buffers where we need to copy the data we should change the Simple8b builder interface to return final Simple8b blocks via a callback. When calling Simple8b::append 0, 1, 2 or more Simple8b blocks may be finalized. A callback interface also provides a generic way to test which scale factor compresses best.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: