[JAVA-956] Assume {ok:0} in case of missing 'ok' field in server response Created: 25/Sep/13 Updated: 03/Apr/14 Resolved: 24/Jan/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Command Operations |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.0, 3.0.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Stephen Lee | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||
| Description |
|
In some cases the server will send a reply to a command that doesn't contain an ok field at all. Currently the driver assumes that all replies have an ok field, but it should not. It should treat a missing ok field as equivalent to ok : 0.0. |