collection.BulkWrite doesn't report write concern errors. I think the problem is in driverlegacy/bulk_write.go:runBatch, which returns a BulkWriteException for each batch. This exception captures the write errors for each write, but not the write concern error.
- backported by
-
GODRIVER-981 Backport "bulk write doesn't report write concern error"
- Closed
- is depended on by
-
TOOLS-1956 Add Bulk Upsert and increase batch size limit
- Closed