[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:
Depends
Related
related to SERVER-10891 Commands don't return "ok" field if t... Closed
is related to JAVA-955 Space in Database Name Should Be Cons... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
JAVA-1022 2.12: Assume {ok:0} in case of missin... Sub-task Closed Jeffrey Yemin  
JAVA-1023 3.0: Assume {ok:0} in case of missing... Sub-task Closed Jeffrey Yemin  

 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.


Generated at Thu Feb 08 08:53:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.