{"action":"closed","number":24493,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/24493","id":65912953,"html_url":"https://github.com/rails/rails/pull/24493","diff_url":"https://github.com/rails/rails/pull/24493.diff","patch_url":"https://github.com/rails/rails/pull/24493.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/24493","number":24493,"state":"closed","locked":false,"title":"ConncectionPool: Prevent reuse of a connection with open transactions","user":{"login":"mfazekas","id":52435,"avatar_url":"https://avatars1.githubusercontent.com/u/52435?v=4","gravatar_id":"","url":"https://api.github.com/users/mfazekas","html_url":"https://github.com/mfazekas","followers_url":"https://api.github.com/users/mfazekas/followers","following_url":"https://api.github.com/users/mfazekas/following{/other_user}","gists_url":"https://api.github.com/users/mfazekas/gists{/gist_id}","starred_url":"https://api.github.com/users/mfazekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfazekas/subscriptions","organizations_url":"https://api.github.com/users/mfazekas/orgs","repos_url":"https://api.github.com/users/mfazekas/repos","events_url":"https://api.github.com/users/mfazekas/events{/privacy}","received_events_url":"https://api.github.com/users/mfazekas/received_events","type":"User","site_admin":false},"body":"Checking in a connection with an open transaction can lead to flaky issues as thread started the transaction might or might not get back the same connection.\n\nSee #24491\n","created_at":"2016-04-10T15:04:11Z","updated_at":"2018-02-03T16:27:06Z","closed_at":"2018-02-03T16:27:06Z","merged_at":null,"merge_commit_sha":"2d8751037547fd258cc8c248312ac2c43a349b4e","assignee":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars1.githubusercontent.com/u/833383?v=4","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":true},"assignees":[{"login":"arthurnn","id":833383,"avatar_url":"https://avatars1.githubusercontent.com/u/833383?v=4","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":true}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/24493/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/24493/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/24493/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/a7b17239df804646c3adb2468f1be67c17c2085a","head":{"label":"mfazekas:cp-prevent-reuse","ref":"cp-prevent-reuse","sha":"a7b17239df804646c3adb2468f1be67c17c2085a","user":{"login":"mfazekas","id":52435,"avatar_url":"https://avatars1.githubusercontent.com/u/52435?v=4","gravatar_id":"","url":"https://api.github.com/users/mfazekas","html_url":"https://github.com/mfazekas","followers_url":"https://api.github.com/users/mfazekas/followers","following_url":"https://api.github.com/users/mfazekas/following{/other_user}","gists_url":"https://api.github.com/users/mfazekas/gists{/gist_id}","starred_url":"https://api.github.com/users/mfazekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfazekas/subscriptions","organizations_url":"https://api.github.com/users/mfazekas/orgs","repos_url":"https://api.github.com/users/mfazekas/repos","events_url":"https://api.github.com/users/mfazekas/events{/privacy}","received_events_url":"https://api.github.com/users/mfazekas/received_events","type":"User","site_admin":false},"repo":{"id":23227556,"name":"rails","full_name":"mfazekas/rails","owner":{"login":"mfazekas","id":52435,"avatar_url":"https://avatars1.githubusercontent.com/u/52435?v=4","gravatar_id":"","url":"https://api.github.com/users/mfazekas","html_url":"https://github.com/mfazekas","followers_url":"https://api.github.com/users/mfazekas/followers","following_url":"https://api.github.com/users/mfazekas/following{/other_user}","gists_url":"https://api.github.com/users/mfazekas/gists{/gist_id}","starred_url":"https://api.github.com/users/mfazekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfazekas/subscriptions","organizations_url":"https://api.github.com/users/mfazekas/orgs","repos_url":"https://api.github.com/users/mfazekas/repos","events_url":"https://api.github.com/users/mfazekas/events{/privacy}","received_events_url":"https://api.github.com/users/mfazekas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfazekas/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/mfazekas/rails","forks_url":"https://api.github.com/repos/mfazekas/rails/forks","keys_url":"https://api.github.com/repos/mfazekas/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfazekas/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfazekas/rails/teams","hooks_url":"https://api.github.com/repos/mfazekas/rails/hooks","issue_events_url":"https://api.github.com/repos/mfazekas/rails/issues/events{/number}","events_url":"https://api.github.com/repos/mfazekas/rails/events","assignees_url":"https://api.github.com/repos/mfazekas/rails/assignees{/user}","branches_url":"https://api.github.com/repos/mfazekas/rails/branches{/branch}","tags_url":"https://api.github.com/repos/mfazekas/rails/tags","blobs_url":"https://api.github.com/repos/mfazekas/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfazekas/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfazekas/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfazekas/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfazekas/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/mfazekas/rails/languages","stargazers_url":"https://api.github.com/repos/mfazekas/rails/stargazers","contributors_url":"https://api.github.com/repos/mfazekas/rails/contributors","subscribers_url":"https://api.github.com/repos/mfazekas/rails/subscribers","subscription_url":"https://api.github.com/repos/mfazekas/rails/subscription","commits_url":"https://api.github.com/repos/mfazekas/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfazekas/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfazekas/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfazekas/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfazekas/rails/contents/{+path}","compare_url":"https://api.github.com/repos/mfazekas/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfazekas/rails/merges","archive_url":"https://api.github.com/repos/mfazekas/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfazekas/rails/downloads","issues_url":"https://api.github.com/repos/mfazekas/rails/issues{/number}","pulls_url":"https://api.github.com/repos/mfazekas/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/mfazekas/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/mfazekas/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfazekas/rails/labels{/name}","releases_url":"https://api.github.com/repos/mfazekas/rails/releases{/id}","deployments_url":"https://api.github.com/repos/mfazekas/rails/deployments","created_at":"2014-08-22T14:13:20Z","updated_at":"2014-08-22T19:06:25Z","pushed_at":"2016-04-17T14:07:11Z","git_url":"git://github.com/mfazekas/rails.git","ssh_url":"git@github.com:mfazekas/rails.git","clone_url":"https://github.com/mfazekas/rails.git","svn_url":"https://github.com/mfazekas/rails","homepage":"http://rubyonrails.org","size":126393,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"2b92069a4985ea21ba12ca726eb15b2daa7bd162","user":{"login":"rails","id":4223,"avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2018-02-03T15:27:47Z","pushed_at":"2018-02-03T13:43:22Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":159937,"stargazers_count":38512,"watchers_count":38512,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15589,"mirror_url":null,"archived":false,"open_issues_count":1058,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15589,"open_issues":1058,"watchers":38512,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/24493"},"html":{"href":"https://github.com/rails/rails/pull/24493"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/24493"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/24493/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/24493/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/24493/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/a7b17239df804646c3adb2468f1be67c17c2085a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":5,"maintainer_can_modify":false,"commits":3,"additions":32,"deletions":3,"changed_files":12}}
{"actor":{"display_login":"kamipo"}}