Fix explain for FLE1 with csfle and FLE2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.0-alpha2, 1.5.0
    • Affects Version/s: 1.5.0-alpha1
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Background & Motivation
      See slack conversation:

      A libmongocrypt encryption context for

      {
        explain: { find: 'fle2', filter: {}, skip: 0, limit: 0, maxTimeMS: 60000 },
        verbosity: 'allPlansExecution'
      }
      

      fails with

      csfle "analyze_query" failed: BSON field 'explain.encryptionInformation' is an unknown field. [Error 2, code 40415]
      

      Scope

      • Append encryptionInformation to "explain" subdocument, not the root document, for the "explain" command.

              Assignee:
              Kevin Albertson
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: