Problem Statement/Rationale
Since using mongo tools 100.15.0, some mongorestore jobs failed with
unable to write wire message to network: write tcp ...: write: broken pipe: connection(...) unable to write wire message to network: write tcp ...: write: broken pipe
On server side we see
recv(): message msgLen 48000026 is invalid. Min 16 Max: 48000000
Steps to Reproduce
I can't share the bump file for which this failed, but I guess using any multi Gigabytes dump with documents around several tens of Ko should reproduce it.
Expected Results
Restore succeeds
Actual Results
Restore fails.
Additional Notes
See proposed fix: https://github.com/mongodb/mongo-tools/pull/952
- is duplicated by
-
TOOLS-4142 BufferedBulkInserter should keep batch size under 48MB
-
- Closed
-