{"action":"closed","number":682,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/682","id":43656025,"html_url":"https://github.com/mongodb/mongo-ruby-driver/pull/682","diff_url":"https://github.com/mongodb/mongo-ruby-driver/pull/682.diff","patch_url":"https://github.com/mongodb/mongo-ruby-driver/pull/682.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/682","number":682,"state":"closed","locked":false,"title":"Retry for count and distinct commands if there is a connection error.","user":{"login":"jonhyman","id":832655,"avatar_url":"https://avatars.githubusercontent.com/u/832655?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhyman","html_url":"https://github.com/jonhyman","followers_url":"https://api.github.com/users/jonhyman/followers","following_url":"https://api.github.com/users/jonhyman/following{/other_user}","gists_url":"https://api.github.com/users/jonhyman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhyman/subscriptions","organizations_url":"https://api.github.com/users/jonhyman/orgs","repos_url":"https://api.github.com/users/jonhyman/repos","events_url":"https://api.github.com/users/jonhyman/events{/privacy}","received_events_url":"https://api.github.com/users/jonhyman/received_events","type":"User","site_admin":false},"body":"We started doing failover testing against HEAD of the new driver and realized these two cases were missing from retry. We tested my branch and it works correctly.","created_at":"2015-08-28T18:14:35Z","updated_at":"2015-08-31T10:57:01Z","closed_at":"2015-08-31T10:57:01Z","merged_at":"2015-08-31T10:57:00Z","merge_commit_sha":"b27be2a1c340cbddb37a6f8fa8295cbf299cd4eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/682/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/682/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/682/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/statuses/4ea051aeb3df0fa0f6212d8dff5e4e6f9e6a682c","head":{"label":"jonhyman:feature/retry-count","ref":"feature/retry-count","sha":"4ea051aeb3df0fa0f6212d8dff5e4e6f9e6a682c","user":{"login":"jonhyman","id":832655,"avatar_url":"https://avatars.githubusercontent.com/u/832655?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhyman","html_url":"https://github.com/jonhyman","followers_url":"https://api.github.com/users/jonhyman/followers","following_url":"https://api.github.com/users/jonhyman/following{/other_user}","gists_url":"https://api.github.com/users/jonhyman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhyman/subscriptions","organizations_url":"https://api.github.com/users/jonhyman/orgs","repos_url":"https://api.github.com/users/jonhyman/repos","events_url":"https://api.github.com/users/jonhyman/events{/privacy}","received_events_url":"https://api.github.com/users/jonhyman/received_events","type":"User","site_admin":false},"repo":{"id":40825739,"name":"mongo-ruby-driver","full_name":"jonhyman/mongo-ruby-driver","owner":{"login":"jonhyman","id":832655,"avatar_url":"https://avatars.githubusercontent.com/u/832655?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhyman","html_url":"https://github.com/jonhyman","followers_url":"https://api.github.com/users/jonhyman/followers","following_url":"https://api.github.com/users/jonhyman/following{/other_user}","gists_url":"https://api.github.com/users/jonhyman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhyman/subscriptions","organizations_url":"https://api.github.com/users/jonhyman/orgs","repos_url":"https://api.github.com/users/jonhyman/repos","events_url":"https://api.github.com/users/jonhyman/events{/privacy}","received_events_url":"https://api.github.com/users/jonhyman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonhyman/mongo-ruby-driver","description":"Ruby driver for MongoDB","fork":true,"url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver","forks_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/forks","keys_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/teams","hooks_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/hooks","issue_events_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/events","assignees_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/tags","blobs_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/languages","stargazers_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/stargazers","contributors_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/contributors","subscribers_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/subscribers","subscription_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/subscription","commits_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/merges","archive_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/downloads","issues_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/labels{/name}","releases_url":"https://api.github.com/repos/jonhyman/mongo-ruby-driver/releases{/id}","created_at":"2015-08-16T15:19:27Z","updated_at":"2015-08-16T15:19:29Z","pushed_at":"2015-08-28T18:10:29Z","git_url":"git://github.com/jonhyman/mongo-ruby-driver.git","ssh_url":"git@github.com:jonhyman/mongo-ruby-driver.git","clone_url":"https://github.com/jonhyman/mongo-ruby-driver.git","svn_url":"https://github.com/jonhyman/mongo-ruby-driver","homepage":"http://api.mongodb.org/ruby","size":31306,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"699693ce29aa62468b36c03aec58935669b02f9a","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":108125,"name":"mongo-ruby-driver","full_name":"mongodb/mongo-ruby-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-ruby-driver","description":"Ruby driver for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-ruby-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/releases{/id}","created_at":"2009-01-15T16:40:45Z","updated_at":"2015-08-30T19:55:29Z","pushed_at":"2015-08-31T10:57:01Z","git_url":"git://github.com/mongodb/mongo-ruby-driver.git","ssh_url":"git@github.com:mongodb/mongo-ruby-driver.git","clone_url":"https://github.com/mongodb/mongo-ruby-driver.git","svn_url":"https://github.com/mongodb/mongo-ruby-driver","homepage":"http://api.mongodb.org/ruby","size":38616,"stargazers_count":1186,"watchers_count":1186,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":369,"mirror_url":null,"open_issues_count":2,"forks":369,"open_issues":2,"watchers":1186,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/682"},"html":{"href":"https://github.com/mongodb/mongo-ruby-driver/pull/682"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/682"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/682/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/682/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/682/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/statuses/4ea051aeb3df0fa0f6212d8dff5e4e6f9e6a682c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"durran","id":9030,"avatar_url":"https://avatars.githubusercontent.com/u/9030?v=3","gravatar_id":"","url":"https://api.github.com/users/durran","html_url":"https://github.com/durran","followers_url":"https://api.github.com/users/durran/followers","following_url":"https://api.github.com/users/durran/following{/other_user}","gists_url":"https://api.github.com/users/durran/gists{/gist_id}","starred_url":"https://api.github.com/users/durran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durran/subscriptions","organizations_url":"https://api.github.com/users/durran/orgs","repos_url":"https://api.github.com/users/durran/repos","events_url":"https://api.github.com/users/durran/events{/privacy}","received_events_url":"https://api.github.com/users/durran/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}