GODRIVER-4169ClosedFixed

Client.BulkWrite drops top-level errors and partial results, violating CRUD spec "Top-Level Errors"

h3. *Context* The CRUD Bulk Write [spec|https://github.com/mongodb/specifications/blob/master/source/crud/bulk-write.md#top-level-errors] requires: {quote}When a top-level error is encountered and individual results and/or errors have already been observed, drivers MUST embed the top-level error within a BulkWriteException as the error field to retain this information. {quote} {{clientBulkWrite.execute}} does not do this for command errors (\{ ok: 0 }). mongo/client_bulk_write.go:98-107 ma

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
2.10.1
Components
Server components related to this issue
CRUD
Labels
Tags and classification

No labels assigned.