{"action":"created","comment":{"url":"https://api.github.com/repos/neo4j/neo4j/pulls/comments/28759711","id":28759711,"diff_hunk":"@@ -424,6 +426,8 @@ public ChannelPipeline getPipeline() throws Exception\n     private class NetworkMessageSender\n             extends SimpleChannelHandler\n     {\n+        private Throwable lastException;","path":"enterprise/cluster/src/main/java/org/neo4j/cluster/com/NetworkSender.java","position":39,"original_position":39,"commit_id":"4c563774115455f71cf9e3b22ca624ec1b04fdb7","original_commit_id":"4c563774115455f71cf9e3b22ca624ec1b04fdb7","user":{"login":"lutovich","id":1638145,"avatar_url":"https://avatars.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":"I assume it might be the right place to use `org.neo4j.kernel.impl.util.CappedOperation`. It would also require some tweaks to be thread safe as it looks like `exceptionCaught` and `writeComplete` might be called by different threads.","created_at":"2015-04-21T08:46:00Z","updated_at":"2015-04-21T08:46:00Z","html_url":"https://github.com/neo4j/neo4j/pull/4474#discussion_r28759711","pull_request_url":"https://api.github.com/repos/neo4j/neo4j/pulls/4474","_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/comments/28759711"},"html":{"href":"https://github.com/neo4j/neo4j/pull/4474#discussion_r28759711"},"pull_request":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/4474"}}},"pull_request":{"url":"https://api.github.com/repos/neo4j/neo4j/pulls/4474","id":33734014,"html_url":"https://github.com/neo4j/neo4j/pull/4474","diff_url":"https://github.com/neo4j/neo4j/pull/4474.diff","patch_url":"https://github.com/neo4j/neo4j/pull/4474.patch","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/4474","number":4474,"state":"open","locked":false,"title":"Throttle network error messages","user":{"login":"rickardoberg","id":461300,"avatar_url":"https://avatars.githubusercontent.com/u/461300?v=3","gravatar_id":"","url":"https://api.github.com/users/rickardoberg","html_url":"https://github.com/rickardoberg","followers_url":"https://api.github.com/users/rickardoberg/followers","following_url":"https://api.github.com/users/rickardoberg/following{/other_user}","gists_url":"https://api.github.com/users/rickardoberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rickardoberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickardoberg/subscriptions","organizations_url":"https://api.github.com/users/rickardoberg/orgs","repos_url":"https://api.github.com/users/rickardoberg/repos","events_url":"https://api.github.com/users/rickardoberg/events{/privacy}","received_events_url":"https://api.github.com/users/rickardoberg/received_events","type":"User","site_admin":false},"body":"Throttle error messages in NetworkSender. If there is a continuous problem, like no route to host, then we don't want to fill the log. Log instead a message on recovery from this error condition.","created_at":"2015-04-21T07:04:55Z","updated_at":"2015-04-21T08:46:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"239ed7bfe759e7127634ec44f36c7dc18e739f0c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neo4j/neo4j/pulls/4474/commits","review_comments_url":"https://api.github.com/repos/neo4j/neo4j/pulls/4474/comments","review_comment_url":"https://api.github.com/repos/neo4j/neo4j/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/4474/comments","statuses_url":"https://api.github.com/repos/neo4j/neo4j/statuses/4c563774115455f71cf9e3b22ca624ec1b04fdb7","head":{"label":"rickardoberg:errorthrottling","ref":"errorthrottling","sha":"4c563774115455f71cf9e3b22ca624ec1b04fdb7","user":{"login":"rickardoberg","id":461300,"avatar_url":"https://avatars.githubusercontent.com/u/461300?v=3","gravatar_id":"","url":"https://api.github.com/users/rickardoberg","html_url":"https://github.com/rickardoberg","followers_url":"https://api.github.com/users/rickardoberg/followers","following_url":"https://api.github.com/users/rickardoberg/following{/other_user}","gists_url":"https://api.github.com/users/rickardoberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rickardoberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickardoberg/subscriptions","organizations_url":"https://api.github.com/users/rickardoberg/orgs","repos_url":"https://api.github.com/users/rickardoberg/repos","events_url":"https://api.github.com/users/rickardoberg/events{/privacy}","received_events_url":"https://api.github.com/users/rickardoberg/received_events","type":"User","site_admin":false},"repo":{"id":6666802,"name":"neo4j","full_name":"rickardoberg/neo4j","owner":{"login":"rickardoberg","id":461300,"avatar_url":"https://avatars.githubusercontent.com/u/461300?v=3","gravatar_id":"","url":"https://api.github.com/users/rickardoberg","html_url":"https://github.com/rickardoberg","followers_url":"https://api.github.com/users/rickardoberg/followers","following_url":"https://api.github.com/users/rickardoberg/following{/other_user}","gists_url":"https://api.github.com/users/rickardoberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rickardoberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickardoberg/subscriptions","organizations_url":"https://api.github.com/users/rickardoberg/orgs","repos_url":"https://api.github.com/users/rickardoberg/repos","events_url":"https://api.github.com/users/rickardoberg/events{/privacy}","received_events_url":"https://api.github.com/users/rickardoberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rickardoberg/neo4j","description":"","fork":true,"url":"https://api.github.com/repos/rickardoberg/neo4j","forks_url":"https://api.github.com/repos/rickardoberg/neo4j/forks","keys_url":"https://api.github.com/repos/rickardoberg/neo4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rickardoberg/neo4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rickardoberg/neo4j/teams","hooks_url":"https://api.github.com/repos/rickardoberg/neo4j/hooks","issue_events_url":"https://api.github.com/repos/rickardoberg/neo4j/issues/events{/number}","events_url":"https://api.github.com/repos/rickardoberg/neo4j/events","assignees_url":"https://api.github.com/repos/rickardoberg/neo4j/assignees{/user}","branches_url":"https://api.github.com/repos/rickardoberg/neo4j/branches{/branch}","tags_url":"https://api.github.com/repos/rickardoberg/neo4j/tags","blobs_url":"https://api.github.com/repos/rickardoberg/neo4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rickardoberg/neo4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rickardoberg/neo4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/rickardoberg/neo4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rickardoberg/neo4j/statuses/{sha}","languages_url":"https://api.github.com/repos/rickardoberg/neo4j/languages","stargazers_url":"https://api.github.com/repos/rickardoberg/neo4j/stargazers","contributors_url":"https://api.github.com/repos/rickardoberg/neo4j/contributors","subscribers_url":"https://api.github.com/repos/rickardoberg/neo4j/subscribers","subscription_url":"https://api.github.com/repos/rickardoberg/neo4j/subscription","commits_url":"https://api.github.com/repos/rickardoberg/neo4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/rickardoberg/neo4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/rickardoberg/neo4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/rickardoberg/neo4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/rickardoberg/neo4j/contents/{+path}","compare_url":"https://api.github.com/repos/rickardoberg/neo4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rickardoberg/neo4j/merges","archive_url":"https://api.github.com/repos/rickardoberg/neo4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rickardoberg/neo4j/downloads","issues_url":"https://api.github.com/repos/rickardoberg/neo4j/issues{/number}","pulls_url":"https://api.github.com/repos/rickardoberg/neo4j/pulls{/number}","milestones_url":"https://api.github.com/repos/rickardoberg/neo4j/milestones{/number}","notifications_url":"https://api.github.com/repos/rickardoberg/neo4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rickardoberg/neo4j/labels{/name}","releases_url":"https://api.github.com/repos/rickardoberg/neo4j/releases{/id}","created_at":"2012-11-13T07:06:50Z","updated_at":"2014-08-26T07:45:07Z","pushed_at":"2015-04-21T06:58:09Z","git_url":"git://github.com/rickardoberg/neo4j.git","ssh_url":"git@github.com:rickardoberg/neo4j.git","clone_url":"https://github.com/rickardoberg/neo4j.git","svn_url":"https://github.com/rickardoberg/neo4j","homepage":null,"size":181876,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"neo4j:2.2","ref":"2.2","sha":"e38dab9af179f6b519d2a6f2f74cdb62575a8dde","user":{"login":"neo4j","id":201120,"avatar_url":"https://avatars.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":6650539,"name":"neo4j","full_name":"neo4j/neo4j","owner":{"login":"neo4j","id":201120,"avatar_url":"https://avatars.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","description":"Graphs for Everyone","fork":false,"url":"https://api.github.com/repos/neo4j/neo4j","forks_url":"https://api.github.com/repos/neo4j/neo4j/forks","keys_url":"https://api.github.com/repos/neo4j/neo4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4j/neo4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4j/neo4j/teams","hooks_url":"https://api.github.com/repos/neo4j/neo4j/hooks","issue_events_url":"https://api.github.com/repos/neo4j/neo4j/issues/events{/number}","events_url":"https://api.github.com/repos/neo4j/neo4j/events","assignees_url":"https://api.github.com/repos/neo4j/neo4j/assignees{/user}","branches_url":"https://api.github.com/repos/neo4j/neo4j/branches{/branch}","tags_url":"https://api.github.com/repos/neo4j/neo4j/tags","blobs_url":"https://api.github.com/repos/neo4j/neo4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4j/neo4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4j/neo4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4j/neo4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4j/neo4j/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4j/neo4j/languages","stargazers_url":"https://api.github.com/repos/neo4j/neo4j/stargazers","contributors_url":"https://api.github.com/repos/neo4j/neo4j/contributors","subscribers_url":"https://api.github.com/repos/neo4j/neo4j/subscribers","subscription_url":"https://api.github.com/repos/neo4j/neo4j/subscription","commits_url":"https://api.github.com/repos/neo4j/neo4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4j/neo4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4j/neo4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4j/neo4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4j/neo4j/contents/{+path}","compare_url":"https://api.github.com/repos/neo4j/neo4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4j/neo4j/merges","archive_url":"https://api.github.com/repos/neo4j/neo4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4j/neo4j/downloads","issues_url":"https://api.github.com/repos/neo4j/neo4j/issues{/number}","pulls_url":"https://api.github.com/repos/neo4j/neo4j/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4j/neo4j/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4j/neo4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4j/neo4j/labels{/name}","releases_url":"https://api.github.com/repos/neo4j/neo4j/releases{/id}","created_at":"2012-11-12T08:46:15Z","updated_at":"2015-04-21T07:03:11Z","pushed_at":"2015-04-21T08:11:44Z","git_url":"git://github.com/neo4j/neo4j.git","ssh_url":"git@github.com:neo4j/neo4j.git","clone_url":"https://github.com/neo4j/neo4j.git","svn_url":"https://github.com/neo4j/neo4j","homepage":"http://neo4j.com","size":459526,"stargazers_count":1612,"watchers_count":1612,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":662,"mirror_url":null,"open_issues_count":414,"forks":662,"open_issues":414,"watchers":1612,"default_branch":"2.3"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/4474"},"html":{"href":"https://github.com/neo4j/neo4j/pull/4474"},"issue":{"href":"https://api.github.com/repos/neo4j/neo4j/issues/4474"},"comments":{"href":"https://api.github.com/repos/neo4j/neo4j/issues/4474/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/4474/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4j/neo4j/pulls/4474/commits"},"statuses":{"href":"https://api.github.com/repos/neo4j/neo4j/statuses/4c563774115455f71cf9e3b22ca624ec1b04fdb7"}}}}