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

Query stats for FLE2 behaves differently between replica sets and sharded clusters

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Server Security
    • ALL
    • Server Security 2025-04-28, Server Security 2025-05-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-101288, the test shell now uses libmongocrypt to process the encryption of aggregation commands. One change in behavior between the old shell implementation of this processing and libmongocrypt is that the former always includes the "encryptionInformation" field in commands over FLE2 collections, whereas libmongocrypt only includes it if the agg/find command needs it because of encrypted fields being present in the query. This change in behavior broke the existing query_stats_disabled_for_fle2.js test. In particular, the sharded case fails but the replica set case succeeds.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: