{"action":"closed","number":6206,"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/6206","id":178835254,"html_url":"https://github.com/pingcap/tidb/pull/6206","diff_url":"https://github.com/pingcap/tidb/pull/6206.diff","patch_url":"https://github.com/pingcap/tidb/pull/6206.patch","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/6206","number":6206,"state":"closed","locked":false,"title":"*: support set relation job","user":{"login":"zimulala","id":4242506,"avatar_url":"https://avatars2.githubusercontent.com/u/4242506?v=4","gravatar_id":"","url":"https://api.github.com/users/zimulala","html_url":"https://github.com/zimulala","followers_url":"https://api.github.com/users/zimulala/followers","following_url":"https://api.github.com/users/zimulala/following{/other_user}","gists_url":"https://api.github.com/users/zimulala/gists{/gist_id}","starred_url":"https://api.github.com/users/zimulala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimulala/subscriptions","organizations_url":"https://api.github.com/users/zimulala/orgs","repos_url":"https://api.github.com/users/zimulala/repos","events_url":"https://api.github.com/users/zimulala/events{/privacy}","received_events_url":"https://api.github.com/users/zimulala/received_events","type":"User","site_admin":false},"body":"We will initially support the parallel DDL. We need to wait for PR(#6161) to merge before we can begin.\r\nIn order to prevent conflicts, I first implement the function of `setJobRelation`.\r\nsetJobRelation sets the current job's relation-ID to the ID of a job that is related to the current job.","created_at":"2018-04-02T13:02:56Z","updated_at":"2018-04-13T02:30:46Z","closed_at":"2018-04-13T02:30:46Z","merged_at":"2018-04-13T02:30:46Z","merge_commit_sha":"998f69642181a48b1da26b03427e33eab929906b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":745133021,"url":"https://api.github.com/repos/pingcap/tidb/labels/DDL","name":"DDL","color":"00bff4","default":false},{"id":564574080,"url":"https://api.github.com/repos/pingcap/tidb/labels/LGT1","name":"LGT1","color":"d4c5f9","default":false},{"id":770872605,"url":"https://api.github.com/repos/pingcap/tidb/labels/all-tests-passed","name":"all-tests-passed","color":"2cbe4e","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/tidb/pulls/6206/commits","review_comments_url":"https://api.github.com/repos/pingcap/tidb/pulls/6206/comments","review_comment_url":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/6206/comments","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/2687e91e4a137cff4430b0bd1e5c4807facb387d","head":{"label":"zimulala:ddl-set-relation-job","ref":"ddl-set-relation-job","sha":"2687e91e4a137cff4430b0bd1e5c4807facb387d","user":{"login":"zimulala","id":4242506,"avatar_url":"https://avatars2.githubusercontent.com/u/4242506?v=4","gravatar_id":"","url":"https://api.github.com/users/zimulala","html_url":"https://github.com/zimulala","followers_url":"https://api.github.com/users/zimulala/followers","following_url":"https://api.github.com/users/zimulala/following{/other_user}","gists_url":"https://api.github.com/users/zimulala/gists{/gist_id}","starred_url":"https://api.github.com/users/zimulala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimulala/subscriptions","organizations_url":"https://api.github.com/users/zimulala/orgs","repos_url":"https://api.github.com/users/zimulala/repos","events_url":"https://api.github.com/users/zimulala/events{/privacy}","received_events_url":"https://api.github.com/users/zimulala/received_events","type":"User","site_admin":false},"repo":{"id":41986662,"name":"tidb","full_name":"zimulala/tidb","owner":{"login":"zimulala","id":4242506,"avatar_url":"https://avatars2.githubusercontent.com/u/4242506?v=4","gravatar_id":"","url":"https://api.github.com/users/zimulala","html_url":"https://github.com/zimulala","followers_url":"https://api.github.com/users/zimulala/followers","following_url":"https://api.github.com/users/zimulala/following{/other_user}","gists_url":"https://api.github.com/users/zimulala/gists{/gist_id}","starred_url":"https://api.github.com/users/zimulala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimulala/subscriptions","organizations_url":"https://api.github.com/users/zimulala/orgs","repos_url":"https://api.github.com/users/zimulala/repos","events_url":"https://api.github.com/users/zimulala/events{/privacy}","received_events_url":"https://api.github.com/users/zimulala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zimulala/tidb","description":"TiDB is a distributed SQL database.","fork":true,"url":"https://api.github.com/repos/zimulala/tidb","forks_url":"https://api.github.com/repos/zimulala/tidb/forks","keys_url":"https://api.github.com/repos/zimulala/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zimulala/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zimulala/tidb/teams","hooks_url":"https://api.github.com/repos/zimulala/tidb/hooks","issue_events_url":"https://api.github.com/repos/zimulala/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/zimulala/tidb/events","assignees_url":"https://api.github.com/repos/zimulala/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/zimulala/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/zimulala/tidb/tags","blobs_url":"https://api.github.com/repos/zimulala/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zimulala/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zimulala/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/zimulala/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zimulala/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/zimulala/tidb/languages","stargazers_url":"https://api.github.com/repos/zimulala/tidb/stargazers","contributors_url":"https://api.github.com/repos/zimulala/tidb/contributors","subscribers_url":"https://api.github.com/repos/zimulala/tidb/subscribers","subscription_url":"https://api.github.com/repos/zimulala/tidb/subscription","commits_url":"https://api.github.com/repos/zimulala/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/zimulala/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/zimulala/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/zimulala/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/zimulala/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/zimulala/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zimulala/tidb/merges","archive_url":"https://api.github.com/repos/zimulala/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zimulala/tidb/downloads","issues_url":"https://api.github.com/repos/zimulala/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/zimulala/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/zimulala/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/zimulala/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zimulala/tidb/labels{/name}","releases_url":"https://api.github.com/repos/zimulala/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/zimulala/tidb/deployments","created_at":"2015-09-06T04:16:07Z","updated_at":"2017-10-19T09:16:15Z","pushed_at":"2018-04-13T02:09:26Z","git_url":"git://github.com/zimulala/tidb.git","ssh_url":"git@github.com:zimulala/tidb.git","clone_url":"https://github.com/zimulala/tidb.git","svn_url":"https://github.com/zimulala/tidb","homepage":"","size":44536,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"b51b0dec6525bf3fd118046dc949062e4819c919","user":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":41986369,"name":"tidb","full_name":"pingcap/tidb","owner":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/tidb","description":"TiDB is a distributed HTAP database compatible with the MySQL protocol ","fork":false,"url":"https://api.github.com/repos/pingcap/tidb","forks_url":"https://api.github.com/repos/pingcap/tidb/forks","keys_url":"https://api.github.com/repos/pingcap/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/tidb/teams","hooks_url":"https://api.github.com/repos/pingcap/tidb/hooks","issue_events_url":"https://api.github.com/repos/pingcap/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/tidb/events","assignees_url":"https://api.github.com/repos/pingcap/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/tidb/tags","blobs_url":"https://api.github.com/repos/pingcap/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/tidb/languages","stargazers_url":"https://api.github.com/repos/pingcap/tidb/stargazers","contributors_url":"https://api.github.com/repos/pingcap/tidb/contributors","subscribers_url":"https://api.github.com/repos/pingcap/tidb/subscribers","subscription_url":"https://api.github.com/repos/pingcap/tidb/subscription","commits_url":"https://api.github.com/repos/pingcap/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/tidb/merges","archive_url":"https://api.github.com/repos/pingcap/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/tidb/downloads","issues_url":"https://api.github.com/repos/pingcap/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/tidb/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/tidb/deployments","created_at":"2015-09-06T04:01:52Z","updated_at":"2018-04-13T02:30:10Z","pushed_at":"2018-04-13T02:30:46Z","git_url":"git://github.com/pingcap/tidb.git","ssh_url":"git@github.com:pingcap/tidb.git","clone_url":"https://github.com/pingcap/tidb.git","svn_url":"https://github.com/pingcap/tidb","homepage":"https://pingcap.com","size":70146,"stargazers_count":12619,"watchers_count":12619,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1720,"mirror_url":null,"archived":false,"open_issues_count":376,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1720,"open_issues":376,"watchers":12619,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6206"},"html":{"href":"https://github.com/pingcap/tidb/pull/6206"},"issue":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6206"},"comments":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6206/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6206/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6206/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/tidb/statuses/2687e91e4a137cff4430b0bd1e5c4807facb387d"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"zhexuany","id":13320708,"avatar_url":"https://avatars0.githubusercontent.com/u/13320708?v=4","gravatar_id":"","url":"https://api.github.com/users/zhexuany","html_url":"https://github.com/zhexuany","followers_url":"https://api.github.com/users/zhexuany/followers","following_url":"https://api.github.com/users/zhexuany/following{/other_user}","gists_url":"https://api.github.com/users/zhexuany/gists{/gist_id}","starred_url":"https://api.github.com/users/zhexuany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhexuany/subscriptions","organizations_url":"https://api.github.com/users/zhexuany/orgs","repos_url":"https://api.github.com/users/zhexuany/repos","events_url":"https://api.github.com/users/zhexuany/events{/privacy}","received_events_url":"https://api.github.com/users/zhexuany/received_events","type":"User","site_admin":false},"comments":10,"review_comments":17,"maintainer_can_modify":false,"commits":5,"additions":207,"deletions":1,"changed_files":8}}
{"actor":{"display_login":"zhexuany"}}