Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-956

Assume {ok:0} in case of missing 'ok' field in server response

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.12.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Command Operations
    • Labels:
      None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            stephen.lee Stephen Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: