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

Support 16 byte types in Simple8b

    XMLWordPrintable

Details

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

    Description

      Add support for storing 16 byte types in Simple8b. For this to work we need to have enough leading and/or trailing zeros to be able to fit the value in our Simple8b buckets.

      We want to generalize the Simple8b class by making it a template with the two supported combinations being uint64_t and uint128_t.

      Integrate uint128_t from boost multiprecision (cpp_int backend). We also need to make functions that can calculate leading and trailing zeros on this type.

       

      Attachments

        Activity

          People

            luke.bhan@mongodb.com Luke Bhan (Inactive)
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: