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

sbe::value::serializeValue/deserializeValue omits ArraySet collator

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • QE 2023-05-29, QE 2023-06-26, QE 2023-07-10, QE 2023-07-24

      When we serialize ArraySet on src/mongo/db/exec/sbe/values/row.cpp#L276 we don't include any information about collation. 

      So when we deserialize it on L118 we create new ArraySet without collation, which can potentially lead to problems.

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: