Move FLE2 tag limits check in createCollection under FCV check

XMLWordPrintableJSON

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

      The call to EncryptionInformationHelpers::checkTagLimitsAndStorageNotExceeded in CmdCreate::Invocation::typedRun should be moved inside the FCV-gated block for gFeatureFlagQETextSearchPreview. This is so that we don't introduce incompatibility between binary versions before 8.2 and 8.2-mongod running on FCV <8.2, when it comes to creating collections with an absurd number of encrypted range/equality fields.

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

              Created:
              Updated:
              Resolved: