{"action":"created","issue":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/3319","repository_url":"https://api.github.com/repos/greenplum-db/gpdb","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/3319/labels{/name}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/3319/comments","events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/3319/events","html_url":"https://github.com/greenplum-db/gpdb/pull/3319","id":258682592,"number":3319,"title":"resgroup: fix a race condition issue.","user":{"login":"pivotal-ning-yu","id":25739550,"avatar_url":"https://avatars2.githubusercontent.com/u/25739550?v=4","gravatar_id":"","url":"https://api.github.com/users/pivotal-ning-yu","html_url":"https://github.com/pivotal-ning-yu","followers_url":"https://api.github.com/users/pivotal-ning-yu/followers","following_url":"https://api.github.com/users/pivotal-ning-yu/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-ning-yu/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-ning-yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-ning-yu/subscriptions","organizations_url":"https://api.github.com/users/pivotal-ning-yu/orgs","repos_url":"https://api.github.com/users/pivotal-ning-yu/repos","events_url":"https://api.github.com/users/pivotal-ning-yu/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-ning-yu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-19T03:10:47Z","updated_at":"2017-09-20T02:55:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/3319","html_url":"https://github.com/greenplum-db/gpdb/pull/3319","diff_url":"https://github.com/greenplum-db/gpdb/pull/3319.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/3319.patch"},"body":"Updates to memSharedUsage need to check memSharedGranted, while updates\r\nto memSharedGranted need to check memSharedUsage, so there can be a race\r\ncondition on concurrent updates to memSharedUsage and memSharedGranted.\r\n\r\nTo fix this issue we protect these updates with a spinlock."},"comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments/330730972","html_url":"https://github.com/greenplum-db/gpdb/pull/3319#issuecomment-330730972","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/3319","id":330730972,"user":{"login":"pivotal-ning-yu","id":25739550,"avatar_url":"https://avatars2.githubusercontent.com/u/25739550?v=4","gravatar_id":"","url":"https://api.github.com/users/pivotal-ning-yu","html_url":"https://github.com/pivotal-ning-yu","followers_url":"https://api.github.com/users/pivotal-ning-yu/followers","following_url":"https://api.github.com/users/pivotal-ning-yu/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-ning-yu/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-ning-yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-ning-yu/subscriptions","organizations_url":"https://api.github.com/users/pivotal-ning-yu/orgs","repos_url":"https://api.github.com/users/pivotal-ning-yu/repos","events_url":"https://api.github.com/users/pivotal-ning-yu/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-ning-yu/received_events","type":"User","site_admin":false},"created_at":"2017-09-20T02:55:16Z","updated_at":"2017-09-20T02:55:16Z","author_association":"CONTRIBUTOR","body":"A commit is pushed to move the assertions after the release of the spinlock."}}
{"actor":{"display_login":"pivotal-ning-yu"}}