Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Query Execution
Description
Some drivers will error if the BSON returned by the server contains duplicate field names. The handling of WriteConflictExceptions in commands while mutating the BSONObjBuilder& result has led to a few bugs in 3.0: SERVER-17902, SERVER-18304, and SERVER-18420.
We should add some code for debug-enabled builds that validates BSON returned to the client.