{"action":"closed","number":187,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/187","id":30592500,"html_url":"https://github.com/mongodb/mongo-c-driver/pull/187","diff_url":"https://github.com/mongodb/mongo-c-driver/pull/187.diff","patch_url":"https://github.com/mongodb/mongo-c-driver/pull/187.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/187","number":187,"state":"closed","locked":false,"title":"client pool: Fix some missing locking and a deadlock","user":{"login":"ac000","id":61690,"avatar_url":"https://avatars.githubusercontent.com/u/61690?v=3","gravatar_id":"","url":"https://api.github.com/users/ac000","html_url":"https://github.com/ac000","followers_url":"https://api.github.com/users/ac000/followers","following_url":"https://api.github.com/users/ac000/following{/other_user}","gists_url":"https://api.github.com/users/ac000/gists{/gist_id}","starred_url":"https://api.github.com/users/ac000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac000/subscriptions","organizations_url":"https://api.github.com/users/ac000/orgs","repos_url":"https://api.github.com/users/ac000/repos","events_url":"https://api.github.com/users/ac000/events{/privacy}","received_events_url":"https://api.github.com/users/ac000/received_events","type":"User","site_admin":false},"body":"client pool: Add some missing locking in _push()\r\n\r\nThis is adds a missing mongoc_mutex_lock/unlock pair in\r\nmongoc_client_pool_push()\r\n\r\nclient pool: Prevent a deadlock in mongoc_client_pool_pop()\r\n\r\nThere is situation a where a client could deadlock in \r\nmongoc_client_pool_pop() which this fix's.","created_at":"2015-03-05T20:29:52Z","updated_at":"2015-03-24T15:12:46Z","closed_at":"2015-03-24T15:12:46Z","merged_at":null,"merge_commit_sha":"afbcd12dc5a1e7545e43a0a831b92567ed57aa14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/187/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/187/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/187/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/5053d9acbf898ee17a146f0bc12b1559c29bf5ea","head":{"label":"ac000:client-pool-fixs","ref":"client-pool-fixs","sha":"5053d9acbf898ee17a146f0bc12b1559c29bf5ea","user":{"login":"ac000","id":61690,"avatar_url":"https://avatars.githubusercontent.com/u/61690?v=3","gravatar_id":"","url":"https://api.github.com/users/ac000","html_url":"https://github.com/ac000","followers_url":"https://api.github.com/users/ac000/followers","following_url":"https://api.github.com/users/ac000/following{/other_user}","gists_url":"https://api.github.com/users/ac000/gists{/gist_id}","starred_url":"https://api.github.com/users/ac000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac000/subscriptions","organizations_url":"https://api.github.com/users/ac000/orgs","repos_url":"https://api.github.com/users/ac000/repos","events_url":"https://api.github.com/users/ac000/events{/privacy}","received_events_url":"https://api.github.com/users/ac000/received_events","type":"User","site_admin":false},"repo":{"id":31324878,"name":"mongo-c-driver","full_name":"ac000/mongo-c-driver","owner":{"login":"ac000","id":61690,"avatar_url":"https://avatars.githubusercontent.com/u/61690?v=3","gravatar_id":"","url":"https://api.github.com/users/ac000","html_url":"https://github.com/ac000","followers_url":"https://api.github.com/users/ac000/followers","following_url":"https://api.github.com/users/ac000/following{/other_user}","gists_url":"https://api.github.com/users/ac000/gists{/gist_id}","starred_url":"https://api.github.com/users/ac000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac000/subscriptions","organizations_url":"https://api.github.com/users/ac000/orgs","repos_url":"https://api.github.com/users/ac000/repos","events_url":"https://api.github.com/users/ac000/events{/privacy}","received_events_url":"https://api.github.com/users/ac000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ac000/mongo-c-driver","description":"A high-performance MongoDB driver for C","fork":true,"url":"https://api.github.com/repos/ac000/mongo-c-driver","forks_url":"https://api.github.com/repos/ac000/mongo-c-driver/forks","keys_url":"https://api.github.com/repos/ac000/mongo-c-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ac000/mongo-c-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ac000/mongo-c-driver/teams","hooks_url":"https://api.github.com/repos/ac000/mongo-c-driver/hooks","issue_events_url":"https://api.github.com/repos/ac000/mongo-c-driver/issues/events{/number}","events_url":"https://api.github.com/repos/ac000/mongo-c-driver/events","assignees_url":"https://api.github.com/repos/ac000/mongo-c-driver/assignees{/user}","branches_url":"https://api.github.com/repos/ac000/mongo-c-driver/branches{/branch}","tags_url":"https://api.github.com/repos/ac000/mongo-c-driver/tags","blobs_url":"https://api.github.com/repos/ac000/mongo-c-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ac000/mongo-c-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ac000/mongo-c-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/ac000/mongo-c-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ac000/mongo-c-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/ac000/mongo-c-driver/languages","stargazers_url":"https://api.github.com/repos/ac000/mongo-c-driver/stargazers","contributors_url":"https://api.github.com/repos/ac000/mongo-c-driver/contributors","subscribers_url":"https://api.github.com/repos/ac000/mongo-c-driver/subscribers","subscription_url":"https://api.github.com/repos/ac000/mongo-c-driver/subscription","commits_url":"https://api.github.com/repos/ac000/mongo-c-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/ac000/mongo-c-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/ac000/mongo-c-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/ac000/mongo-c-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/ac000/mongo-c-driver/contents/{+path}","compare_url":"https://api.github.com/repos/ac000/mongo-c-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ac000/mongo-c-driver/merges","archive_url":"https://api.github.com/repos/ac000/mongo-c-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ac000/mongo-c-driver/downloads","issues_url":"https://api.github.com/repos/ac000/mongo-c-driver/issues{/number}","pulls_url":"https://api.github.com/repos/ac000/mongo-c-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/ac000/mongo-c-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/ac000/mongo-c-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ac000/mongo-c-driver/labels{/name}","releases_url":"https://api.github.com/repos/ac000/mongo-c-driver/releases{/id}","created_at":"2015-02-25T16:58:32Z","updated_at":"2015-03-05T01:13:21Z","pushed_at":"2015-03-05T20:25:12Z","git_url":"git://github.com/ac000/mongo-c-driver.git","ssh_url":"git@github.com:ac000/mongo-c-driver.git","clone_url":"https://github.com/ac000/mongo-c-driver.git","svn_url":"https://github.com/ac000/mongo-c-driver","homepage":"","size":10200,"stargazers_count":0,"watchers_count":0,"language":"C","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":"64788c17b413a134f6c2ab6995b876afb7b5f75e","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":9735077,"name":"mongo-c-driver","full_name":"mongodb/mongo-c-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-c-driver","description":"A high-performance MongoDB driver for C","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-c-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-c-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-c-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-c-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-c-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-c-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-c-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-c-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-c-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-c-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-c-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-c-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-c-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-c-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-c-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-c-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-c-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-c-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-c-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-c-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-c-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-c-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-c-driver/releases{/id}","created_at":"2013-04-28T19:34:36Z","updated_at":"2015-03-24T15:12:45Z","pushed_at":"2015-03-24T15:12:45Z","git_url":"git://github.com/mongodb/mongo-c-driver.git","ssh_url":"git@github.com:mongodb/mongo-c-driver.git","clone_url":"https://github.com/mongodb/mongo-c-driver.git","svn_url":"https://github.com/mongodb/mongo-c-driver","homepage":"","size":17958,"stargazers_count":108,"watchers_count":108,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":9,"forks":87,"open_issues":9,"watchers":108,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/187"},"html":{"href":"https://github.com/mongodb/mongo-c-driver/pull/187"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/187"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/5053d9acbf898ee17a146f0bc12b1559c29bf5ea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":6,"deletions":2,"changed_files":1}}