Remove deprecated suffixPreview/prefixPreview query types

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-116329 renamed the FLE2 query types prefixPreview -> prefix and suffixPreview -> suffix. For backward compatibility during mixed-version upgrades, the old values are still accepted (mapped to the new types) but blocked at collection creation time. Once 9.0 is lastLTS, the following deprecated artifacts can be removed:                             
        1. IDL enum values — SuffixPreviewDeprecated ("suffixPreview") and PrefixPreviewDeprecated ("prefixPreview") in src/mongo/crypto/encryption_fields.idl (lines 62-67).
        2. Collection creation blocks — The uassert checks that reject suffixPreview/prefixPreview at creation time.
        3. Backward-compat mapping — Any helper code that translates the deprecated values to the new names.

            Assignee:
            Unassigned
            Reporter:
            Owen Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: