[SERVER-9236] Wrong binary serialization when DuplicateKey occurs Created: 04/Apr/13 Updated: 02/Feb/16 Resolved: 02/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 2.2.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Anton V. Volokhov | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | logging | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
java driver 2.11.0 |
||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | 1: run code import java.net.UnknownHostException; /**
@Test ); |
||||||||
| Participants: | |||||||||
| Description |
|
This code throws MongoException.DuplicateKey, as expected. But error message doesn't contain actual key: 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. |
| Comments |
| Comment by Max Hirschhorn [ 02/Feb/16 ] | ||||||||||
|
Closing as a duplicate of
|