Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-427

Fix explain for FLE1 with csfle and FLE2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 1.5.0-alpha1
    • 1.5.0-alpha2, 1.5.0
    • None
    • None
    • Not Needed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kevin.albertson@mongodb.com Kevin Albertson
              kevin.albertson@mongodb.com Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: