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

CSFLE - $facet aggregation fails on non-encrypted collection

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      What problem are you facing?

      Connection has CSFLE configured with encryption on 2 collections. Attempting to use a $facet aggregation on a non-encrypted collection throws the following error:

      "Aggregation stage [UNKNOWN] is not allowed or supported with automatic encryption"

      What driver and relevant dependency versions are you using?

      "mongodb": "4.1.1",

      Steps to reproduce?

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            phil@bestinclasscare.com Phil Boardman
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: