-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2023-04-03, QO 2023-04-17
We currently have two functions FieldPath::redactedFullPath and SerializationOptions::serializeFieldName to redact the field name. The latter does not properly redact components of dotted field paths separately. We should fix and test that bug, and consider consolidating the functions so there's only one entrypoint for field name serialization.
We should also consider the role of FieldPath::fulPath (we should be able to keep one function with SerializationOptions provided rather than separate functions for redacted and non-redacted versions). Overall, we gotta clean up the api with which we're redacting field names.
- causes
-
SERVER-75681 Fix jstests to use redactIdentifiers instead of redactFieldNames
- Closed
- is depended on by
-
SERVER-75596 Stress $queryStats read path for aggregation
- Closed
- is related to
-
SERVER-74217 Literal abstraction and field name redaction for find command arguments
- Closed
-
SERVER-75008 Rename redactFieldNameStrategy to piiRedactionStrategy in SerializationOptions
- Closed
- related to
-
SERVER-75623 Consider manually splitting by '.' and hashing field names for paths which can't be converted to FieldPath
- Closed