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

Implicit encrypted db client handles mixing an unencrypted json schema with QE schemas.

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

       When a $lookup query is issued involving a QE encrypted collection and an unencrypted collection, the implicit encrypted db client incorrectly assumes that it can only either have FLE1 or FLE2 schemas. This is not the case, as unencrypted collections provide empty schemas in CSFLE format. 

      The issue is related to https://jira.mongodb.org/browse/SERVER-100260, but is currently blocking testing being performed by the crypto team.

      As part of this ticket, introduce a small workaround fix in the meantime that gives priority to FLE2 schemas and ignores empty csfle schemas in determining how to generate the query to be sent to query analysis.

            Assignee:
            santiago.roche@mongodb.com Santiago Roche
            Reporter:
            santiago.roche@mongodb.com Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None