-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.3
-
Component/s: Index Maintenance
-
Environment:java driver 2.11.0
-
ALL
-
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.
- duplicates
-
SERVER-9526 Log messages regarding chunks not very informative when the shard key is of type BinData
- Closed