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

Create client-side payload types for QE version 2

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Security 2023-01-23

    Description

      For v2 of the QE protocol, the following payload types need to be defined in fle_field_schema.idl:

      1. FLE2InsertUpdatePayloadV2
      2. FLE2FindEqualityPayloadV2
      3. FLE2FindRangePayloadV2

      FLE2InsertUpdatePayloadV2 is mostly similar to FLE2InsertUpdatePayload, but the "c" field is replaced by an "l" field that encodes the ServerDerivedFromDataToken; a "k" field is added (type "long") to hold the contentionFactor, and the "g" field is changed to be an array of EdgeTokenSetV2.

      EdgeTokenSetV2 and FLE2FindEqualityPayloadV2 are similar to EdgeTokenSet and FLE2FindEqualityPayload, respectively, but with the "c" field replaced by an "l" field that holds the ServerDerivedFromDataToken.

      FLE2FindRangePayloadV2 is similar to FLE2FindRangePayload, but with the "payload" field changed to be of type FLE2FindRangePayloadEdgesInfoV2.

      Attachments

        Activity

          People

            erwin.pe@mongodb.com Erwin Pe
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: