{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5029","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5029/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5029/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5029/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5029","id":114669308,"number":5029,"title":"Take into account initial response type when deciding to send a continue in cursor constructor","user":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/Java","name":"Java","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-02T19:41:41Z","updated_at":"2015-11-02T19:48:03Z","closed_at":null,"body":"Right now in Cursor.java, we call `sendContinueMaybe` without looking at the initial response received. If the initial response is a `SUCCESS_SEQUENCE`, we should make sure `CONTINUE` is not sent.\r\n\r\nSee https://github.com/bchavez/RethinkDb.Driver/commit/274d80729625ee60f19b65d88e469f5f9a51aaea#commitcomment-14084487 for a discussion"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/153137528","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5029#issuecomment-153137528","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5029","id":153137528,"user":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T19:48:03Z","updated_at":"2015-11-02T19:48:03Z","body":"That's true for later batches, but the first batch is already parsed when this is called, otherwise we don't know to create a cursor at all"}}