-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The driver sends a write command to the server if the "documents", "updates", or "deletes" array alone is at most 16MB plus 16K; it should also take into account the additional overhead of the write command (writeConcern, readPreference, etc.) and split the batch if the total command document exceeds 16MB plus 16K.