[JAVA-1130] A getlasterror response with jnote or wnote should throw an exception Created: 06/Mar/14 Updated: 13/Dec/23 Resolved: 07/Nov/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Write Operations |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.0 |
| Type: | Epic | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
A getlasterror response with jnote or wnote should throw a CommandFailureException, as it means that the requested write concern was not applied. Currently the driver ignores these fields. |