-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.5.0
-
Component/s: Write Operations
-
None
returns com.mongodb.MongoWriteException: E11000 duplicate key error index during upserts instead of com.mongodb.DuplicateKeyException. It would be helpful if the driver returns com.mongodb.DuplicateKeyException so a user can take a useful action.