Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.2.3
-
java driver 2.11.0
-
ALL
-
Description
This code throws MongoException.DuplicateKey, as expected. But error message doesn't contain actual key:
com.mongodb.MongoException$DuplicateKey: E11000 duplicate key error index: testSerialize.test.$id dup key: { : BinData }
Looks like this "{ : BinData}" comes from the server side. Is it any way to see actual key, that is duplicated? Just BinData is not user-friendly message at all.
Attachments
Issue Links
- duplicates
-
SERVER-9526 Log messages regarding chunks not very informative when the shard key is of type BinData
-
- Closed
-