{"action":"created","issue":{"url":"https://api.github.com/repos/citusdata/citus/issues/1136","repository_url":"https://api.github.com/repos/citusdata/citus","labels_url":"https://api.github.com/repos/citusdata/citus/issues/1136/labels{/name}","comments_url":"https://api.github.com/repos/citusdata/citus/issues/1136/comments","events_url":"https://api.github.com/repos/citusdata/citus/issues/1136/events","html_url":"https://github.com/citusdata/citus/pull/1136","id":201324912,"number":1136,"title":"Convert drop shards to use new API","user":{"login":"byucesoy","id":2082070,"avatar_url":"https://avatars.githubusercontent.com/u/2082070?v=3","gravatar_id":"","url":"https://api.github.com/users/byucesoy","html_url":"https://github.com/byucesoy","followers_url":"https://api.github.com/users/byucesoy/followers","following_url":"https://api.github.com/users/byucesoy/following{/other_user}","gists_url":"https://api.github.com/users/byucesoy/gists{/gist_id}","starred_url":"https://api.github.com/users/byucesoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byucesoy/subscriptions","organizations_url":"https://api.github.com/users/byucesoy/orgs","repos_url":"https://api.github.com/users/byucesoy/repos","events_url":"https://api.github.com/users/byucesoy/events{/privacy}","received_events_url":"https://api.github.com/users/byucesoy/received_events","type":"User","site_admin":false},"labels":[{"id":324367882,"url":"https://api.github.com/repos/citusdata/citus/labels/needs%20review","name":"needs review","color":"eeeeee","default":false}],"state":"closed","locked":false,"assignee":{"login":"anarazel","id":1598211,"avatar_url":"https://avatars.githubusercontent.com/u/1598211?v=3","gravatar_id":"","url":"https://api.github.com/users/anarazel","html_url":"https://github.com/anarazel","followers_url":"https://api.github.com/users/anarazel/followers","following_url":"https://api.github.com/users/anarazel/following{/other_user}","gists_url":"https://api.github.com/users/anarazel/gists{/gist_id}","starred_url":"https://api.github.com/users/anarazel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarazel/subscriptions","organizations_url":"https://api.github.com/users/anarazel/orgs","repos_url":"https://api.github.com/users/anarazel/repos","events_url":"https://api.github.com/users/anarazel/events{/privacy}","received_events_url":"https://api.github.com/users/anarazel/received_events","type":"User","site_admin":false},"assignees":[{"login":"anarazel","id":1598211,"avatar_url":"https://avatars.githubusercontent.com/u/1598211?v=3","gravatar_id":"","url":"https://api.github.com/users/anarazel","html_url":"https://github.com/anarazel","followers_url":"https://api.github.com/users/anarazel/followers","following_url":"https://api.github.com/users/anarazel/following{/other_user}","gists_url":"https://api.github.com/users/anarazel/gists{/gist_id}","starred_url":"https://api.github.com/users/anarazel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarazel/subscriptions","organizations_url":"https://api.github.com/users/anarazel/orgs","repos_url":"https://api.github.com/users/anarazel/repos","events_url":"https://api.github.com/users/anarazel/events{/privacy}","received_events_url":"https://api.github.com/users/anarazel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-01-17T15:49:56Z","updated_at":"2017-01-17T15:57:04Z","closed_at":"2017-01-17T15:57:04Z","pull_request":{"url":"https://api.github.com/repos/citusdata/citus/pulls/1136","html_url":"https://github.com/citusdata/citus/pull/1136","diff_url":"https://github.com/citusdata/citus/pull/1136.diff","patch_url":"https://github.com/citusdata/citus/pull/1136.patch"},"body":"Part of #1101\r\n\r\nWith this change DropShards function started to use new connection API. DropShards function is used by DROP TABLE, master_drop_all_shards and master_apply_delete_command, therefore all of these functions now support transactional operations. In DropShards function, if we cannot reach a node, we mark shard state of related placements as FILE_TO_DELETE and continue to drop remaining shards; however if any error occurs after establishing the connection, we ROLLBACK whole operation."},"comment":{"url":"https://api.github.com/repos/citusdata/citus/issues/comments/273210179","html_url":"https://github.com/citusdata/citus/pull/1136#issuecomment-273210179","issue_url":"https://api.github.com/repos/citusdata/citus/issues/1136","id":273210179,"user":{"login":"byucesoy","id":2082070,"avatar_url":"https://avatars.githubusercontent.com/u/2082070?v=3","gravatar_id":"","url":"https://api.github.com/users/byucesoy","html_url":"https://github.com/byucesoy","followers_url":"https://api.github.com/users/byucesoy/followers","following_url":"https://api.github.com/users/byucesoy/following{/other_user}","gists_url":"https://api.github.com/users/byucesoy/gists{/gist_id}","starred_url":"https://api.github.com/users/byucesoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byucesoy/subscriptions","organizations_url":"https://api.github.com/users/byucesoy/orgs","repos_url":"https://api.github.com/users/byucesoy/repos","events_url":"https://api.github.com/users/byucesoy/events{/privacy}","received_events_url":"https://api.github.com/users/byucesoy/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T15:57:04Z","updated_at":"2017-01-17T15:57:04Z","body":"@anarazel @metdos asked me to assign this PR to you."}}
{"actor":{"display_login":"byucesoy"}}