[JAVA-1225] Remove support for unacknowledged writes in the WriteResult class Created: 13/May/14 Updated: 10/Jun/14 Resolved: 10/Jun/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API, Write Operations |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | 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 | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Major Change | ||||||||
| Description |
|
Removed support for unacknowledged writes in the WriteResult class that was deprecated in 2.12.0. Additionally, all DBCollection methods that return a WriteResult will return null if the write was unacknowledged. If you need any of the properties of WriteResult, use acknowledged write concern, e.g. ACKNOWLEDGED, REPLICA_SAFE, etc. If the write results in an error, methods that return a WriteResult with throw an exception. |