{"action":"created","comment":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/comments/183200639","pull_request_review_id":114162629,"id":183200639,"diff_hunk":"@@ -0,0 +1,49 @@\n+// Copyright 2018 PingCAP, Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+package latch\n+\n+import (\n+\t. \"github.com/pingcap/check\"\n+\t\"sync\"","path":"store/tikv/latch/scheduler_test.go","position":18,"original_position":18,"commit_id":"095cdf314c89ff3351250608766e1f9d8485da56","original_commit_id":"095cdf314c89ff3351250608766e1f9d8485da56","user":{"login":"tiancaiamao","id":1420062,"avatar_url":"https://avatars2.githubusercontent.com/u/1420062?v=4","gravatar_id":"","url":"https://api.github.com/users/tiancaiamao","html_url":"https://github.com/tiancaiamao","followers_url":"https://api.github.com/users/tiancaiamao/followers","following_url":"https://api.github.com/users/tiancaiamao/following{/other_user}","gists_url":"https://api.github.com/users/tiancaiamao/gists{/gist_id}","starred_url":"https://api.github.com/users/tiancaiamao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiancaiamao/subscriptions","organizations_url":"https://api.github.com/users/tiancaiamao/orgs","repos_url":"https://api.github.com/users/tiancaiamao/repos","events_url":"https://api.github.com/users/tiancaiamao/events{/privacy}","received_events_url":"https://api.github.com/users/tiancaiamao/received_events","type":"User","site_admin":false},"body":"...","created_at":"2018-04-21T05:23:37Z","updated_at":"2018-04-21T05:27:36Z","html_url":"https://github.com/pingcap/tidb/pull/6331#discussion_r183200639","pull_request_url":"https://api.github.com/repos/pingcap/tidb/pulls/6331","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/comments/183200639"},"html":{"href":"https://github.com/pingcap/tidb/pull/6331#discussion_r183200639"},"pull_request":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6331"}}},"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/6331","id":183203113,"html_url":"https://github.com/pingcap/tidb/pull/6331","diff_url":"https://github.com/pingcap/tidb/pull/6331.diff","patch_url":"https://github.com/pingcap/tidb/pull/6331.patch","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/6331","number":6331,"state":"open","locked":false,"title":"tikv/latch: implement latch_scheduler","user":{"login":"AndreMouche","id":1085697,"avatar_url":"https://avatars1.githubusercontent.com/u/1085697?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreMouche","html_url":"https://github.com/AndreMouche","followers_url":"https://api.github.com/users/AndreMouche/followers","following_url":"https://api.github.com/users/AndreMouche/following{/other_user}","gists_url":"https://api.github.com/users/AndreMouche/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreMouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreMouche/subscriptions","organizations_url":"https://api.github.com/users/AndreMouche/orgs","repos_url":"https://api.github.com/users/AndreMouche/repos","events_url":"https://api.github.com/users/AndreMouche/events{/privacy}","received_events_url":"https://api.github.com/users/AndreMouche/received_events","type":"User","site_admin":false},"body":"@tiancaiamao @coocood @disksing @zhangjinpeng1987 PTAL","created_at":"2018-04-21T03:21:38Z","updated_at":"2018-04-21T05:27:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90d292b61144f080f2d6cb1c8af421f1b20c72db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/tidb/pulls/6331/commits","review_comments_url":"https://api.github.com/repos/pingcap/tidb/pulls/6331/comments","review_comment_url":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/6331/comments","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/095cdf314c89ff3351250608766e1f9d8485da56","head":{"label":"AndreMouche:shirly/latch_scheduler","ref":"shirly/latch_scheduler","sha":"095cdf314c89ff3351250608766e1f9d8485da56","user":{"login":"AndreMouche","id":1085697,"avatar_url":"https://avatars1.githubusercontent.com/u/1085697?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreMouche","html_url":"https://github.com/AndreMouche","followers_url":"https://api.github.com/users/AndreMouche/followers","following_url":"https://api.github.com/users/AndreMouche/following{/other_user}","gists_url":"https://api.github.com/users/AndreMouche/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreMouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreMouche/subscriptions","organizations_url":"https://api.github.com/users/AndreMouche/orgs","repos_url":"https://api.github.com/users/AndreMouche/repos","events_url":"https://api.github.com/users/AndreMouche/events{/privacy}","received_events_url":"https://api.github.com/users/AndreMouche/received_events","type":"User","site_admin":false},"repo":{"id":108814822,"name":"tidb","full_name":"AndreMouche/tidb","owner":{"login":"AndreMouche","id":1085697,"avatar_url":"https://avatars1.githubusercontent.com/u/1085697?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreMouche","html_url":"https://github.com/AndreMouche","followers_url":"https://api.github.com/users/AndreMouche/followers","following_url":"https://api.github.com/users/AndreMouche/following{/other_user}","gists_url":"https://api.github.com/users/AndreMouche/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreMouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreMouche/subscriptions","organizations_url":"https://api.github.com/users/AndreMouche/orgs","repos_url":"https://api.github.com/users/AndreMouche/repos","events_url":"https://api.github.com/users/AndreMouche/events{/privacy}","received_events_url":"https://api.github.com/users/AndreMouche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreMouche/tidb","description":"TiDB is a distributed NewSQL database compatible with MySQL protocol ","fork":true,"url":"https://api.github.com/repos/AndreMouche/tidb","forks_url":"https://api.github.com/repos/AndreMouche/tidb/forks","keys_url":"https://api.github.com/repos/AndreMouche/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreMouche/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreMouche/tidb/teams","hooks_url":"https://api.github.com/repos/AndreMouche/tidb/hooks","issue_events_url":"https://api.github.com/repos/AndreMouche/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/AndreMouche/tidb/events","assignees_url":"https://api.github.com/repos/AndreMouche/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/AndreMouche/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/AndreMouche/tidb/tags","blobs_url":"https://api.github.com/repos/AndreMouche/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreMouche/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreMouche/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreMouche/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreMouche/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreMouche/tidb/languages","stargazers_url":"https://api.github.com/repos/AndreMouche/tidb/stargazers","contributors_url":"https://api.github.com/repos/AndreMouche/tidb/contributors","subscribers_url":"https://api.github.com/repos/AndreMouche/tidb/subscribers","subscription_url":"https://api.github.com/repos/AndreMouche/tidb/subscription","commits_url":"https://api.github.com/repos/AndreMouche/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreMouche/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreMouche/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreMouche/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreMouche/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/AndreMouche/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreMouche/tidb/merges","archive_url":"https://api.github.com/repos/AndreMouche/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreMouche/tidb/downloads","issues_url":"https://api.github.com/repos/AndreMouche/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/AndreMouche/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreMouche/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreMouche/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreMouche/tidb/labels{/name}","releases_url":"https://api.github.com/repos/AndreMouche/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/AndreMouche/tidb/deployments","created_at":"2017-10-30T07:13:14Z","updated_at":"2017-10-30T07:13:19Z","pushed_at":"2018-04-21T03:18:00Z","git_url":"git://github.com/AndreMouche/tidb.git","ssh_url":"git@github.com:AndreMouche/tidb.git","clone_url":"https://github.com/AndreMouche/tidb.git","svn_url":"https://github.com/AndreMouche/tidb","homepage":"https://pingcap.com","size":45744,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"1376b990968c4a62d3859b4b358367787c4e9037","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-21T01:39:40Z","pushed_at":"2018-04-21T03:21:39Z","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":70590,"stargazers_count":12773,"watchers_count":12773,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1740,"mirror_url":null,"archived":false,"open_issues_count":378,"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":1740,"open_issues":378,"watchers":12773,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6331"},"html":{"href":"https://github.com/pingcap/tidb/pull/6331"},"issue":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6331"},"comments":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6331/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6331/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6331/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/tidb/statuses/095cdf314c89ff3351250608766e1f9d8485da56"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tiancaiamao"}}