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

Fix explain for FLE1 with csfle and FLE2

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

      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@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: