Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-91656

Limit FLE2 range padding batch inserts to 100k at a time

    • Server Security
    • Fully Compatible
    • ALL
    • v8.0
    • Security 2024-06-24, Security 2024-07-08

      FLE2 compaction for range fields calculate the number of padding documents to be inserted, and creates that may ESC padding documents. The resulting vector of documents is then passed to FLEQueryInterface::insertDocuments() all at once, which then creates a batch insert command containing all of the input documents.  If the number of padding documents is very large, this might either cause the resulting command BSONObject to exceed the 16MB limit, or exceed the 100,000 document limit for batched inserts.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: