Adjust FLE2 substringPreview per-field max length limit

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0, 8.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.2
    • Server Security 2025-08-01
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From discussions with product, we've decided to limit the strMaxLength parameter to 60 characters for a substringPreview-indexed encrypted field. For this change, we also must:

      • add a serverParameter that would allow users to bypass the soft limits on substringPreview fields.
      • improve the error message for when users have enough encrypted fields in their schema such that the worst case tag count exceeds what can fit in a BSON document. Include suggestion to reduce the number of encrypted fields, or tune the parameters.

            Assignee:
            Erwin Pe
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: