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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.12.0, 3.0.0
    • None
    • Command Operations
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: