{"action":"closed","number":355,"pull_request":{"url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/355","id":115300185,"html_url":"https://github.com/neo4j/neo4j-java-driver/pull/355","diff_url":"https://github.com/neo4j/neo4j-java-driver/pull/355.diff","patch_url":"https://github.com/neo4j/neo4j-java-driver/pull/355.patch","issue_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/355","number":355,"state":"closed","locked":false,"title":"Read in absence of viable writer","user":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars1.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"body":"Previously driver did not allow reads and writes when received routing table did not contains both routers, readers and writers. This was inconsistent with Causal Cluster which allows reads when leader is absent. Leader might be unavailable for a long time (when there is a DC failure, etc.) so it makes sense to allow clients to perform read activity.\r\n\r\nThis commit makes driver accept routing table with no writers and allow clients to perform read operations when writers are not available. It might be problematic when there is a cluster partition and one partition contains majority. For this case special care must be taken so driver does not get stuck talking only to the smaller partition which only knows about itself. This is done on best effort basis - driver tries to contact seed router if previously accepted routing table did not contain writes.","created_at":"2017-04-11T11:39:35Z","updated_at":"2017-04-12T09:14:37Z","closed_at":"2017-04-12T09:14:37Z","merged_at":"2017-04-12T09:14:37Z","merge_commit_sha":"4434a0b688df35ccbc54f57014c54402e9ae210f","assignee":{"login":"zhenlineo","id":4190164,"avatar_url":"https://avatars2.githubusercontent.com/u/4190164?v=3","gravatar_id":"","url":"https://api.github.com/users/zhenlineo","html_url":"https://github.com/zhenlineo","followers_url":"https://api.github.com/users/zhenlineo/followers","following_url":"https://api.github.com/users/zhenlineo/following{/other_user}","gists_url":"https://api.github.com/users/zhenlineo/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenlineo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenlineo/subscriptions","organizations_url":"https://api.github.com/users/zhenlineo/orgs","repos_url":"https://api.github.com/users/zhenlineo/repos","events_url":"https://api.github.com/users/zhenlineo/events{/privacy}","received_events_url":"https://api.github.com/users/zhenlineo/received_events","type":"User","site_admin":false},"assignees":[{"login":"zhenlineo","id":4190164,"avatar_url":"https://avatars2.githubusercontent.com/u/4190164?v=3","gravatar_id":"","url":"https://api.github.com/users/zhenlineo","html_url":"https://github.com/zhenlineo","followers_url":"https://api.github.com/users/zhenlineo/followers","following_url":"https://api.github.com/users/zhenlineo/following{/other_user}","gists_url":"https://api.github.com/users/zhenlineo/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenlineo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenlineo/subscriptions","organizations_url":"https://api.github.com/users/zhenlineo/orgs","repos_url":"https://api.github.com/users/zhenlineo/repos","events_url":"https://api.github.com/users/zhenlineo/events{/privacy}","received_events_url":"https://api.github.com/users/zhenlineo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/355/commits","review_comments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/355/comments","review_comment_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/355/comments","statuses_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/statuses/c0fd4c96f2d098b3d03c00086d5f1568ed945785","head":{"label":"lutovich:1.3-read-without-writer","ref":"1.3-read-without-writer","sha":"c0fd4c96f2d098b3d03c00086d5f1568ed945785","user":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars1.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"repo":{"id":72756768,"name":"neo4j-java-driver","full_name":"lutovich/neo4j-java-driver","owner":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars1.githubusercontent.com/u/1638145?v=3","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lutovich/neo4j-java-driver","description":"Neo4j Bolt driver for Java","fork":true,"url":"https://api.github.com/repos/lutovich/neo4j-java-driver","forks_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/forks","keys_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/teams","hooks_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/hooks","issue_events_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/events","assignees_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/tags","blobs_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/languages","stargazers_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/stargazers","contributors_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/contributors","subscribers_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/subscribers","subscription_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/subscription","commits_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/merges","archive_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/downloads","issues_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/releases{/id}","deployments_url":"https://api.github.com/repos/lutovich/neo4j-java-driver/deployments","created_at":"2016-11-03T15:00:29Z","updated_at":"2016-11-03T15:00:31Z","pushed_at":"2017-04-11T11:58:35Z","git_url":"git://github.com/lutovich/neo4j-java-driver.git","ssh_url":"git@github.com:lutovich/neo4j-java-driver.git","clone_url":"https://github.com/lutovich/neo4j-java-driver.git","svn_url":"https://github.com/lutovich/neo4j-java-driver","homepage":"","size":3255,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.1"}},"base":{"label":"neo4j:1.3","ref":"1.3","sha":"256d2b6eb9548eac83e7d619a12c0075d937ad88","user":{"login":"neo4j","id":201120,"avatar_url":"https://avatars0.githubusercontent.com/u/201120?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"repo":{"id":34007506,"name":"neo4j-java-driver","full_name":"neo4j/neo4j-java-driver","owner":{"login":"neo4j","id":201120,"avatar_url":"https://avatars0.githubusercontent.com/u/201120?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4j/neo4j-java-driver","description":"Neo4j Bolt driver for Java","fork":false,"url":"https://api.github.com/repos/neo4j/neo4j-java-driver","forks_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/forks","keys_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/teams","hooks_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/hooks","issue_events_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/events","assignees_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/tags","blobs_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/languages","stargazers_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/stargazers","contributors_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/contributors","subscribers_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/subscribers","subscription_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/subscription","commits_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/merges","archive_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/downloads","issues_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/releases{/id}","deployments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/deployments","created_at":"2015-04-15T17:08:15Z","updated_at":"2017-03-30T08:17:06Z","pushed_at":"2017-04-12T09:14:37Z","git_url":"git://github.com/neo4j/neo4j-java-driver.git","ssh_url":"git@github.com:neo4j/neo4j-java-driver.git","clone_url":"https://github.com/neo4j/neo4j-java-driver.git","svn_url":"https://github.com/neo4j/neo4j-java-driver","homepage":"","size":3263,"stargazers_count":68,"watchers_count":68,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":8,"forks":49,"open_issues":8,"watchers":68,"default_branch":"1.3"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/355"},"html":{"href":"https://github.com/neo4j/neo4j-java-driver/pull/355"},"issue":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/355"},"comments":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/355/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/355/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/355/commits"},"statuses":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/statuses/c0fd4c96f2d098b3d03c00086d5f1568ed945785"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"zhenlineo","id":4190164,"avatar_url":"https://avatars2.githubusercontent.com/u/4190164?v=3","gravatar_id":"","url":"https://api.github.com/users/zhenlineo","html_url":"https://github.com/zhenlineo","followers_url":"https://api.github.com/users/zhenlineo/followers","following_url":"https://api.github.com/users/zhenlineo/following{/other_user}","gists_url":"https://api.github.com/users/zhenlineo/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenlineo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenlineo/subscriptions","organizations_url":"https://api.github.com/users/zhenlineo/orgs","repos_url":"https://api.github.com/users/zhenlineo/repos","events_url":"https://api.github.com/users/zhenlineo/events{/privacy}","received_events_url":"https://api.github.com/users/zhenlineo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":662,"deletions":169,"changed_files":18}}
{"actor":{"display_login":"zhenlineo"}}