{"action":"closed","number":150,"pull_request":{"url":"https://api.github.com/repos/mozilla/mig/pulls/150","id":49821866,"html_url":"https://github.com/mozilla/mig/pull/150","diff_url":"https://github.com/mozilla/mig/pull/150.diff","patch_url":"https://github.com/mozilla/mig/pull/150.patch","issue_url":"https://api.github.com/repos/mozilla/mig/issues/150","number":150,"state":"closed","locked":false,"title":"Scheduler relay heartbeat","user":{"login":"jvehent","id":415617,"avatar_url":"https://avatars.githubusercontent.com/u/415617?v=3","gravatar_id":"","url":"https://api.github.com/users/jvehent","html_url":"https://github.com/jvehent","followers_url":"https://api.github.com/users/jvehent/followers","following_url":"https://api.github.com/users/jvehent/following{/other_user}","gists_url":"https://api.github.com/users/jvehent/gists{/gist_id}","starred_url":"https://api.github.com/users/jvehent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvehent/subscriptions","organizations_url":"https://api.github.com/users/jvehent/orgs","repos_url":"https://api.github.com/users/jvehent/repos","events_url":"https://api.github.com/users/jvehent/events{/privacy}","received_events_url":"https://api.github.com/users/jvehent/received_events","type":"User","site_admin":false},"body":"If RabbitMQ suffers a network partition, the scheduler will remain in a half broken state where no message can be consumed or published, but other goroutines work fine. This patch introduce a new dummy event that heartbeats the scheduler and terminates it if the publication of the heartbeat fails. The hearbeat is a normal event that expires in rabbitmq after 100 minutes, like any other event. It is published to a queue that could eventually be consumed for monitoring.\r\n\r\nr? @ameihm0912 ","created_at":"2015-11-05T13:12:43Z","updated_at":"2015-11-05T21:27:36Z","closed_at":"2015-11-05T21:27:35Z","merged_at":"2015-11-05T21:27:35Z","merge_commit_sha":"1c2fcaa92b18162d3e627e58c7df584aaa3fff85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mig/pulls/150/commits","review_comments_url":"https://api.github.com/repos/mozilla/mig/pulls/150/comments","review_comment_url":"https://api.github.com/repos/mozilla/mig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/mig/issues/150/comments","statuses_url":"https://api.github.com/repos/mozilla/mig/statuses/70dd88d9da7bdc63b64478177b813867c499b4e0","head":{"label":"mozilla:schedulerreconnect","ref":"schedulerreconnect","sha":"70dd88d9da7bdc63b64478177b813867c499b4e0","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":12719968,"name":"mig","full_name":"mozilla/mig","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/mig","description":"Distributed & real time digital forensics at the speed of the cloud","fork":false,"url":"https://api.github.com/repos/mozilla/mig","forks_url":"https://api.github.com/repos/mozilla/mig/forks","keys_url":"https://api.github.com/repos/mozilla/mig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mig/teams","hooks_url":"https://api.github.com/repos/mozilla/mig/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mig/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mig/events","assignees_url":"https://api.github.com/repos/mozilla/mig/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mig/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mig/tags","blobs_url":"https://api.github.com/repos/mozilla/mig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mig/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mig/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mig/languages","stargazers_url":"https://api.github.com/repos/mozilla/mig/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mig/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mig/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mig/subscription","commits_url":"https://api.github.com/repos/mozilla/mig/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mig/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mig/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mig/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mig/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mig/merges","archive_url":"https://api.github.com/repos/mozilla/mig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mig/downloads","issues_url":"https://api.github.com/repos/mozilla/mig/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mig/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mig/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mig/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mig/releases{/id}","created_at":"2013-09-10T04:04:40Z","updated_at":"2015-11-04T21:20:09Z","pushed_at":"2015-11-05T21:27:36Z","git_url":"git://github.com/mozilla/mig.git","ssh_url":"git@github.com:mozilla/mig.git","clone_url":"https://github.com/mozilla/mig.git","svn_url":"https://github.com/mozilla/mig","homepage":"http://mig.mozilla.org/","size":19498,"stargazers_count":570,"watchers_count":570,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":96,"mirror_url":null,"open_issues_count":34,"forks":96,"open_issues":34,"watchers":570,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"a73c2b4cd1ce73295d6b9ecf20c02a52e16dfcc3","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":12719968,"name":"mig","full_name":"mozilla/mig","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/mig","description":"Distributed & real time digital forensics at the speed of the cloud","fork":false,"url":"https://api.github.com/repos/mozilla/mig","forks_url":"https://api.github.com/repos/mozilla/mig/forks","keys_url":"https://api.github.com/repos/mozilla/mig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mig/teams","hooks_url":"https://api.github.com/repos/mozilla/mig/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mig/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mig/events","assignees_url":"https://api.github.com/repos/mozilla/mig/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mig/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mig/tags","blobs_url":"https://api.github.com/repos/mozilla/mig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mig/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mig/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mig/languages","stargazers_url":"https://api.github.com/repos/mozilla/mig/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mig/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mig/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mig/subscription","commits_url":"https://api.github.com/repos/mozilla/mig/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mig/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mig/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mig/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mig/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mig/merges","archive_url":"https://api.github.com/repos/mozilla/mig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mig/downloads","issues_url":"https://api.github.com/repos/mozilla/mig/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mig/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mig/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mig/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mig/releases{/id}","created_at":"2013-09-10T04:04:40Z","updated_at":"2015-11-04T21:20:09Z","pushed_at":"2015-11-05T21:27:36Z","git_url":"git://github.com/mozilla/mig.git","ssh_url":"git@github.com:mozilla/mig.git","clone_url":"https://github.com/mozilla/mig.git","svn_url":"https://github.com/mozilla/mig","homepage":"http://mig.mozilla.org/","size":19498,"stargazers_count":570,"watchers_count":570,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":96,"mirror_url":null,"open_issues_count":34,"forks":96,"open_issues":34,"watchers":570,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mig/pulls/150"},"html":{"href":"https://github.com/mozilla/mig/pull/150"},"issue":{"href":"https://api.github.com/repos/mozilla/mig/issues/150"},"comments":{"href":"https://api.github.com/repos/mozilla/mig/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mig/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mig/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mig/statuses/70dd88d9da7bdc63b64478177b813867c499b4e0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jvehent","id":415617,"avatar_url":"https://avatars.githubusercontent.com/u/415617?v=3","gravatar_id":"","url":"https://api.github.com/users/jvehent","html_url":"https://github.com/jvehent","followers_url":"https://api.github.com/users/jvehent/followers","following_url":"https://api.github.com/users/jvehent/following{/other_user}","gists_url":"https://api.github.com/users/jvehent/gists{/gist_id}","starred_url":"https://api.github.com/users/jvehent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvehent/subscriptions","organizations_url":"https://api.github.com/users/jvehent/orgs","repos_url":"https://api.github.com/users/jvehent/repos","events_url":"https://api.github.com/users/jvehent/events{/privacy}","received_events_url":"https://api.github.com/users/jvehent/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":32,"deletions":8,"changed_files":5}}