{"action":"closed","number":1421,"pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1421","id":96849570,"html_url":"https://github.com/greenplum-db/gpdb/pull/1421","diff_url":"https://github.com/greenplum-db/gpdb/pull/1421.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/1421.patch","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/1421","number":1421,"state":"closed","locked":false,"title":"Reset mppIsWriter field of PGPROC to false in hook function of GUC gp_session_role  if the new value is GP_ROLE_UTILITY","user":{"login":"eurekaka","id":6261973,"avatar_url":"https://avatars.githubusercontent.com/u/6261973?v=3","gravatar_id":"","url":"https://api.github.com/users/eurekaka","html_url":"https://github.com/eurekaka","followers_url":"https://api.github.com/users/eurekaka/followers","following_url":"https://api.github.com/users/eurekaka/following{/other_user}","gists_url":"https://api.github.com/users/eurekaka/gists{/gist_id}","starred_url":"https://api.github.com/users/eurekaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eurekaka/subscriptions","organizations_url":"https://api.github.com/users/eurekaka/orgs","repos_url":"https://api.github.com/users/eurekaka/repos","events_url":"https://api.github.com/users/eurekaka/events{/privacy}","received_events_url":"https://api.github.com/users/eurekaka/received_events","type":"User","site_admin":false},"body":"When someone is connecting to a segment in utility mode, and there exists a connection\r\nfrom QD to this segment having a same session id coincidently, reader QE on this\r\nsegment may possibly treat the utility backend as its corresponding writer QE, this may lead\r\nto confusion on shared snapshot, and reader QE of extended query may report error saying it\r\ncannot find snapshot temp file.\r\n\r\nWe avoid this by excluding utility backend from writer list.\r\n\r\nSigned-off-by Pengzhou Tang <ptang@pivotal.io>","created_at":"2016-12-07T02:52:59Z","updated_at":"2016-12-07T07:16:35Z","closed_at":"2016-12-07T07:16:35Z","merged_at":"2016-12-07T07:16:35Z","merge_commit_sha":"fe09950f5ae7c00934f1875ecf0779ea415bcaf8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1421/commits","review_comments_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1421/comments","review_comment_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/1421/comments","statuses_url":"https://api.github.com/repos/greenplum-db/gpdb/statuses/5bd10b76cb74b9d125237eb143cdb86b4bb88c51","head":{"label":"eurekaka:utility_writer","ref":"utility_writer","sha":"5bd10b76cb74b9d125237eb143cdb86b4bb88c51","user":{"login":"eurekaka","id":6261973,"avatar_url":"https://avatars.githubusercontent.com/u/6261973?v=3","gravatar_id":"","url":"https://api.github.com/users/eurekaka","html_url":"https://github.com/eurekaka","followers_url":"https://api.github.com/users/eurekaka/followers","following_url":"https://api.github.com/users/eurekaka/following{/other_user}","gists_url":"https://api.github.com/users/eurekaka/gists{/gist_id}","starred_url":"https://api.github.com/users/eurekaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eurekaka/subscriptions","organizations_url":"https://api.github.com/users/eurekaka/orgs","repos_url":"https://api.github.com/users/eurekaka/repos","events_url":"https://api.github.com/users/eurekaka/events{/privacy}","received_events_url":"https://api.github.com/users/eurekaka/received_events","type":"User","site_admin":false},"repo":{"id":45974087,"name":"gpdb","full_name":"eurekaka/gpdb","owner":{"login":"eurekaka","id":6261973,"avatar_url":"https://avatars.githubusercontent.com/u/6261973?v=3","gravatar_id":"","url":"https://api.github.com/users/eurekaka","html_url":"https://github.com/eurekaka","followers_url":"https://api.github.com/users/eurekaka/followers","following_url":"https://api.github.com/users/eurekaka/following{/other_user}","gists_url":"https://api.github.com/users/eurekaka/gists{/gist_id}","starred_url":"https://api.github.com/users/eurekaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eurekaka/subscriptions","organizations_url":"https://api.github.com/users/eurekaka/orgs","repos_url":"https://api.github.com/users/eurekaka/repos","events_url":"https://api.github.com/users/eurekaka/events{/privacy}","received_events_url":"https://api.github.com/users/eurekaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eurekaka/gpdb","description":"Pivotal Greenplum Database","fork":true,"url":"https://api.github.com/repos/eurekaka/gpdb","forks_url":"https://api.github.com/repos/eurekaka/gpdb/forks","keys_url":"https://api.github.com/repos/eurekaka/gpdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eurekaka/gpdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eurekaka/gpdb/teams","hooks_url":"https://api.github.com/repos/eurekaka/gpdb/hooks","issue_events_url":"https://api.github.com/repos/eurekaka/gpdb/issues/events{/number}","events_url":"https://api.github.com/repos/eurekaka/gpdb/events","assignees_url":"https://api.github.com/repos/eurekaka/gpdb/assignees{/user}","branches_url":"https://api.github.com/repos/eurekaka/gpdb/branches{/branch}","tags_url":"https://api.github.com/repos/eurekaka/gpdb/tags","blobs_url":"https://api.github.com/repos/eurekaka/gpdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eurekaka/gpdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eurekaka/gpdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/eurekaka/gpdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eurekaka/gpdb/statuses/{sha}","languages_url":"https://api.github.com/repos/eurekaka/gpdb/languages","stargazers_url":"https://api.github.com/repos/eurekaka/gpdb/stargazers","contributors_url":"https://api.github.com/repos/eurekaka/gpdb/contributors","subscribers_url":"https://api.github.com/repos/eurekaka/gpdb/subscribers","subscription_url":"https://api.github.com/repos/eurekaka/gpdb/subscription","commits_url":"https://api.github.com/repos/eurekaka/gpdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/eurekaka/gpdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/eurekaka/gpdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/eurekaka/gpdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/eurekaka/gpdb/contents/{+path}","compare_url":"https://api.github.com/repos/eurekaka/gpdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eurekaka/gpdb/merges","archive_url":"https://api.github.com/repos/eurekaka/gpdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eurekaka/gpdb/downloads","issues_url":"https://api.github.com/repos/eurekaka/gpdb/issues{/number}","pulls_url":"https://api.github.com/repos/eurekaka/gpdb/pulls{/number}","milestones_url":"https://api.github.com/repos/eurekaka/gpdb/milestones{/number}","notifications_url":"https://api.github.com/repos/eurekaka/gpdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eurekaka/gpdb/labels{/name}","releases_url":"https://api.github.com/repos/eurekaka/gpdb/releases{/id}","deployments_url":"https://api.github.com/repos/eurekaka/gpdb/deployments","created_at":"2015-11-11T10:06:46Z","updated_at":"2015-11-11T10:07:33Z","pushed_at":"2016-12-07T06:34:26Z","git_url":"git://github.com/eurekaka/gpdb.git","ssh_url":"git@github.com:eurekaka/gpdb.git","clone_url":"https://github.com/eurekaka/gpdb.git","svn_url":"https://github.com/eurekaka/gpdb","homepage":"http://greenplum.org","size":181013,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"greenplum-db:master","ref":"master","sha":"1d4d067c31e3a29f58ae6439638eaf36fff65d42","user":{"login":"greenplum-db","id":14097842,"avatar_url":"https://avatars.githubusercontent.com/u/14097842?v=3","gravatar_id":"","url":"https://api.github.com/users/greenplum-db","html_url":"https://github.com/greenplum-db","followers_url":"https://api.github.com/users/greenplum-db/followers","following_url":"https://api.github.com/users/greenplum-db/following{/other_user}","gists_url":"https://api.github.com/users/greenplum-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greenplum-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenplum-db/subscriptions","organizations_url":"https://api.github.com/users/greenplum-db/orgs","repos_url":"https://api.github.com/users/greenplum-db/repos","events_url":"https://api.github.com/users/greenplum-db/events{/privacy}","received_events_url":"https://api.github.com/users/greenplum-db/received_events","type":"Organization","site_admin":false},"repo":{"id":44781140,"name":"gpdb","full_name":"greenplum-db/gpdb","owner":{"login":"greenplum-db","id":14097842,"avatar_url":"https://avatars.githubusercontent.com/u/14097842?v=3","gravatar_id":"","url":"https://api.github.com/users/greenplum-db","html_url":"https://github.com/greenplum-db","followers_url":"https://api.github.com/users/greenplum-db/followers","following_url":"https://api.github.com/users/greenplum-db/following{/other_user}","gists_url":"https://api.github.com/users/greenplum-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greenplum-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenplum-db/subscriptions","organizations_url":"https://api.github.com/users/greenplum-db/orgs","repos_url":"https://api.github.com/users/greenplum-db/repos","events_url":"https://api.github.com/users/greenplum-db/events{/privacy}","received_events_url":"https://api.github.com/users/greenplum-db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greenplum-db/gpdb","description":"Greenplum Database","fork":false,"url":"https://api.github.com/repos/greenplum-db/gpdb","forks_url":"https://api.github.com/repos/greenplum-db/gpdb/forks","keys_url":"https://api.github.com/repos/greenplum-db/gpdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenplum-db/gpdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenplum-db/gpdb/teams","hooks_url":"https://api.github.com/repos/greenplum-db/gpdb/hooks","issue_events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/events{/number}","events_url":"https://api.github.com/repos/greenplum-db/gpdb/events","assignees_url":"https://api.github.com/repos/greenplum-db/gpdb/assignees{/user}","branches_url":"https://api.github.com/repos/greenplum-db/gpdb/branches{/branch}","tags_url":"https://api.github.com/repos/greenplum-db/gpdb/tags","blobs_url":"https://api.github.com/repos/greenplum-db/gpdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenplum-db/gpdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenplum-db/gpdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenplum-db/gpdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenplum-db/gpdb/statuses/{sha}","languages_url":"https://api.github.com/repos/greenplum-db/gpdb/languages","stargazers_url":"https://api.github.com/repos/greenplum-db/gpdb/stargazers","contributors_url":"https://api.github.com/repos/greenplum-db/gpdb/contributors","subscribers_url":"https://api.github.com/repos/greenplum-db/gpdb/subscribers","subscription_url":"https://api.github.com/repos/greenplum-db/gpdb/subscription","commits_url":"https://api.github.com/repos/greenplum-db/gpdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenplum-db/gpdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenplum-db/gpdb/contents/{+path}","compare_url":"https://api.github.com/repos/greenplum-db/gpdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenplum-db/gpdb/merges","archive_url":"https://api.github.com/repos/greenplum-db/gpdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenplum-db/gpdb/downloads","issues_url":"https://api.github.com/repos/greenplum-db/gpdb/issues{/number}","pulls_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls{/number}","milestones_url":"https://api.github.com/repos/greenplum-db/gpdb/milestones{/number}","notifications_url":"https://api.github.com/repos/greenplum-db/gpdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/labels{/name}","releases_url":"https://api.github.com/repos/greenplum-db/gpdb/releases{/id}","deployments_url":"https://api.github.com/repos/greenplum-db/gpdb/deployments","created_at":"2015-10-23T00:25:17Z","updated_at":"2016-12-07T03:32:37Z","pushed_at":"2016-12-07T07:16:35Z","git_url":"git://github.com/greenplum-db/gpdb.git","ssh_url":"git@github.com:greenplum-db/gpdb.git","clone_url":"https://github.com/greenplum-db/gpdb.git","svn_url":"https://github.com/greenplum-db/gpdb","homepage":"http://greenplum.org","size":233692,"stargazers_count":1698,"watchers_count":1698,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":494,"mirror_url":null,"open_issues_count":117,"forks":494,"open_issues":117,"watchers":1698,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1421"},"html":{"href":"https://github.com/greenplum-db/gpdb/pull/1421"},"issue":{"href":"https://api.github.com/repos/greenplum-db/gpdb/issues/1421"},"comments":{"href":"https://api.github.com/repos/greenplum-db/gpdb/issues/1421/comments"},"review_comments":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1421/comments"},"review_comment":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1421/commits"},"statuses":{"href":"https://api.github.com/repos/greenplum-db/gpdb/statuses/5bd10b76cb74b9d125237eb143cdb86b4bb88c51"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"eurekaka","id":6261973,"avatar_url":"https://avatars.githubusercontent.com/u/6261973?v=3","gravatar_id":"","url":"https://api.github.com/users/eurekaka","html_url":"https://github.com/eurekaka","followers_url":"https://api.github.com/users/eurekaka/followers","following_url":"https://api.github.com/users/eurekaka/following{/other_user}","gists_url":"https://api.github.com/users/eurekaka/gists{/gist_id}","starred_url":"https://api.github.com/users/eurekaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eurekaka/subscriptions","organizations_url":"https://api.github.com/users/eurekaka/orgs","repos_url":"https://api.github.com/users/eurekaka/repos","events_url":"https://api.github.com/users/eurekaka/events{/privacy}","received_events_url":"https://api.github.com/users/eurekaka/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"eurekaka"}}