Use GetQueryableEncryptionCountInfo for range padding anchor binary hops

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0
    • Security 2024-04-01, Security 2024-04-15, Security 2024-04-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To save on round trips between mongos and the mongod on individual document reads performed by anchorBinaryHops, the range padding compaction logic should use the  GetQueryableEncryptionCountInfo command mechanism (via FLETagQueryInterface::getTags(), instead of performing the anchor binary hops in mongos.
       

      This change will include expanding the `getQueryableEncryptionCountInfo` command and related enums to include a `PaddingCleanup` index which works with an AnchorPaddingRootToken.

            Assignee:
            Gabriel Marks
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: