-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Queryable Encryption
-
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.