{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/pd/issues/483","repository_url":"https://api.github.com/repos/pingcap/pd","labels_url":"https://api.github.com/repos/pingcap/pd/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/pd/issues/483/comments","events_url":"https://api.github.com/repos/pingcap/pd/issues/483/events","html_url":"https://github.com/pingcap/pd/pull/483","id":202559586,"number":483,"title":"pdctl: add schedule command","user":{"login":"huachaohuang","id":7806468,"avatar_url":"https://avatars.githubusercontent.com/u/7806468?v=3","gravatar_id":"","url":"https://api.github.com/users/huachaohuang","html_url":"https://github.com/huachaohuang","followers_url":"https://api.github.com/users/huachaohuang/followers","following_url":"https://api.github.com/users/huachaohuang/following{/other_user}","gists_url":"https://api.github.com/users/huachaohuang/gists{/gist_id}","starred_url":"https://api.github.com/users/huachaohuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huachaohuang/subscriptions","organizations_url":"https://api.github.com/users/huachaohuang/orgs","repos_url":"https://api.github.com/users/huachaohuang/repos","events_url":"https://api.github.com/users/huachaohuang/events{/privacy}","received_events_url":"https://api.github.com/users/huachaohuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-23T15:10:03Z","updated_at":"2017-01-24T01:29:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pingcap/pd/pulls/483","html_url":"https://github.com/pingcap/pd/pull/483","diff_url":"https://github.com/pingcap/pd/pull/483.diff","patch_url":"https://github.com/pingcap/pd/pull/483.patch"},"body":"Add command to transfer leader or region.\r\n\r\n```\r\nschedule transfer_leader <region_id> <store_id>\r\nschedule transfer_region <region_id> <store_id>...\r\n```"},"comment":{"url":"https://api.github.com/repos/pingcap/pd/issues/comments/274673788","html_url":"https://github.com/pingcap/pd/pull/483#issuecomment-274673788","issue_url":"https://api.github.com/repos/pingcap/pd/issues/483","id":274673788,"user":{"login":"siddontang","id":1080370,"avatar_url":"https://avatars.githubusercontent.com/u/1080370?v=3","gravatar_id":"","url":"https://api.github.com/users/siddontang","html_url":"https://github.com/siddontang","followers_url":"https://api.github.com/users/siddontang/followers","following_url":"https://api.github.com/users/siddontang/following{/other_user}","gists_url":"https://api.github.com/users/siddontang/gists{/gist_id}","starred_url":"https://api.github.com/users/siddontang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddontang/subscriptions","organizations_url":"https://api.github.com/users/siddontang/orgs","repos_url":"https://api.github.com/users/siddontang/repos","events_url":"https://api.github.com/users/siddontang/events{/privacy}","received_events_url":"https://api.github.com/users/siddontang/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T01:29:41Z","updated_at":"2017-01-24T01:29:41Z","body":"I prefer using a scheduler instead of sending request to tikv directly. \r\n\r\n+ Now we can only return the operator to schedule the region in heartbeat, don't add other ways. \r\n+ we don't need immediacy, the worst delay is one minute, it is acceptable. "}}
{"actor":{"display_login":"siddontang"}}