-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.7.7
-
Component/s: Internal Client
-
None
-
Environment:All
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
scotthernandez brought this to our attention. We should examine wasError field before looking inside the bson obj to see there is an $err field.
It will be faster to check this field first than inspect the document and it will also prevent possible errors where a $err field may exist in the but not signal an error. This is necessary for some mongodb tools that may have to deal with such documents.
- is depended on by
-
CXX-361 Merge changes for SERVER-15438
-
- Closed
-