Revise error check when mixing QE and JSON schemas

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 1.16.0
    • Affects Version/s: None
    • Component/s: C library
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Scope
      If mongocryptd/crypt_shared is 8.2+, pass both QE and JSON schemas to mongocrypt/crypt_shared.

      Background & Motivation
      libmongocrypt returns an explanatory error if mixing QE schemas and any JSON schemas. SERVER-100260 adds support for mixing QE schemas and non-CSFLE JSON schemas. The error in libmongocrypt can be revised. On pre-8.2, return the error. On 8.2+, pass both to mongocryptd/crypt_shared. If the JSON schemas have CSFLE fields, expect mongocryptd/crypt_shared to error.

            Assignee:
            Connor MacDonald
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: