{"action":"created","comment":{"url":"https://api.github.com/repos/tikv/tikv/pulls/comments/244076581","pull_request_review_id":187994306,"id":244076581,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDA3NjU4MQ==","diff_hunk":"@@ -162,13 +162,20 @@ pub struct SSTWriter {\n \n impl SSTWriter {\n     pub fn new(cfg: &DbConfig) -> Result<SSTWriter> {\n-        let env = Arc::new(Env::new_mem());\n+        // Create a writer for default cf","path":"src/import/engine.rs","position":5,"original_position":5,"commit_id":"e620a3ec01e01414783ae3dcaf78888034f81d67","original_commit_id":"e620a3ec01e01414783ae3dcaf78888034f81d67","user":{"login":"CaitinChen","id":34535727,"node_id":"MDQ6VXNlcjM0NTM1NzI3","avatar_url":"https://avatars2.githubusercontent.com/u/34535727?v=4","gravatar_id":"","url":"https://api.github.com/users/CaitinChen","html_url":"https://github.com/CaitinChen","followers_url":"https://api.github.com/users/CaitinChen/followers","following_url":"https://api.github.com/users/CaitinChen/following{/other_user}","gists_url":"https://api.github.com/users/CaitinChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaitinChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaitinChen/subscriptions","organizations_url":"https://api.github.com/users/CaitinChen/orgs","repos_url":"https://api.github.com/users/CaitinChen/repos","events_url":"https://api.github.com/users/CaitinChen/events{/privacy}","received_events_url":"https://api.github.com/users/CaitinChen/received_events","type":"User","site_admin":false},"body":"\r\n```suggestion\r\n        // Creates a writer for the default column family (CF)\r\n```","created_at":"2018-12-27T03:24:37Z","updated_at":"2018-12-27T03:53:58Z","html_url":"https://github.com/tikv/tikv/pull/3955#discussion_r244076581","pull_request_url":"https://api.github.com/repos/tikv/tikv/pulls/3955","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/tikv/tikv/pulls/comments/244076581"},"html":{"href":"https://github.com/tikv/tikv/pull/3955#discussion_r244076581"},"pull_request":{"href":"https://api.github.com/repos/tikv/tikv/pulls/3955"}}},"pull_request":{"url":"https://api.github.com/repos/tikv/tikv/pulls/3955","id":239792431,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzkyNDMx","html_url":"https://github.com/tikv/tikv/pull/3955","diff_url":"https://github.com/tikv/tikv/pull/3955.diff","patch_url":"https://github.com/tikv/tikv/pull/3955.patch","issue_url":"https://api.github.com/repos/tikv/tikv/issues/3955","number":3955,"state":"open","locked":false,"title":"importer: add annotation","user":{"login":"DorianZheng","id":8065637,"node_id":"MDQ6VXNlcjgwNjU2Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8065637?v=4","gravatar_id":"","url":"https://api.github.com/users/DorianZheng","html_url":"https://github.com/DorianZheng","followers_url":"https://api.github.com/users/DorianZheng/followers","following_url":"https://api.github.com/users/DorianZheng/following{/other_user}","gists_url":"https://api.github.com/users/DorianZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/DorianZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DorianZheng/subscriptions","organizations_url":"https://api.github.com/users/DorianZheng/orgs","repos_url":"https://api.github.com/users/DorianZheng/repos","events_url":"https://api.github.com/users/DorianZheng/events{/privacy}","received_events_url":"https://api.github.com/users/DorianZheng/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for contributing to TiKV! Please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document **BEFORE** filing this PR.\r\n-->\r\n\r\n## What have you changed? (mandatory)\r\n\r\nAdd annotation for importer\r\n\r\n## What are the type of the changes? (mandatory)\r\n\r\nImprovement\r\n\r\n## How has this PR been tested? (mandatory)\r\n\r\nNo need\r\n\r\n## Does this PR affect documentation (docs) update? (mandatory)\r\n\r\nNo\r\n\r\n## Does this PR affect tidb-ansible update? (mandatory)\r\n\r\nNo\r\n\r\n","created_at":"2018-12-19T10:54:47Z","updated_at":"2018-12-27T03:53:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97ceb685ec51b57c7ad89ad01247605829cfeaf2","assignee":{"login":"CaitinChen","id":34535727,"node_id":"MDQ6VXNlcjM0NTM1NzI3","avatar_url":"https://avatars2.githubusercontent.com/u/34535727?v=4","gravatar_id":"","url":"https://api.github.com/users/CaitinChen","html_url":"https://github.com/CaitinChen","followers_url":"https://api.github.com/users/CaitinChen/followers","following_url":"https://api.github.com/users/CaitinChen/following{/other_user}","gists_url":"https://api.github.com/users/CaitinChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaitinChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaitinChen/subscriptions","organizations_url":"https://api.github.com/users/CaitinChen/orgs","repos_url":"https://api.github.com/users/CaitinChen/repos","events_url":"https://api.github.com/users/CaitinChen/events{/privacy}","received_events_url":"https://api.github.com/users/CaitinChen/received_events","type":"User","site_admin":false},"assignees":[{"login":"CaitinChen","id":34535727,"node_id":"MDQ6VXNlcjM0NTM1NzI3","avatar_url":"https://avatars2.githubusercontent.com/u/34535727?v=4","gravatar_id":"","url":"https://api.github.com/users/CaitinChen","html_url":"https://github.com/CaitinChen","followers_url":"https://api.github.com/users/CaitinChen/followers","following_url":"https://api.github.com/users/CaitinChen/following{/other_user}","gists_url":"https://api.github.com/users/CaitinChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaitinChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaitinChen/subscriptions","organizations_url":"https://api.github.com/users/CaitinChen/orgs","repos_url":"https://api.github.com/users/CaitinChen/repos","events_url":"https://api.github.com/users/CaitinChen/events{/privacy}","received_events_url":"https://api.github.com/users/CaitinChen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":954306401,"node_id":"MDU6TGFiZWw5NTQzMDY0MDE=","url":"https://api.github.com/repos/tikv/tikv/labels/C:%20Doc","name":"C: Doc","color":"d1fad7","default":false},{"id":793714342,"node_id":"MDU6TGFiZWw3OTM3MTQzNDI=","url":"https://api.github.com/repos/tikv/tikv/labels/S:%20WIP","name":"S: WIP","color":"DDDDDD","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tikv/tikv/pulls/3955/commits","review_comments_url":"https://api.github.com/repos/tikv/tikv/pulls/3955/comments","review_comment_url":"https://api.github.com/repos/tikv/tikv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tikv/tikv/issues/3955/comments","statuses_url":"https://api.github.com/repos/tikv/tikv/statuses/e620a3ec01e01414783ae3dcaf78888034f81d67","head":{"label":"DorianZheng:annotate_for_importer","ref":"annotate_for_importer","sha":"e620a3ec01e01414783ae3dcaf78888034f81d67","user":{"login":"DorianZheng","id":8065637,"node_id":"MDQ6VXNlcjgwNjU2Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8065637?v=4","gravatar_id":"","url":"https://api.github.com/users/DorianZheng","html_url":"https://github.com/DorianZheng","followers_url":"https://api.github.com/users/DorianZheng/followers","following_url":"https://api.github.com/users/DorianZheng/following{/other_user}","gists_url":"https://api.github.com/users/DorianZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/DorianZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DorianZheng/subscriptions","organizations_url":"https://api.github.com/users/DorianZheng/orgs","repos_url":"https://api.github.com/users/DorianZheng/repos","events_url":"https://api.github.com/users/DorianZheng/events{/privacy}","received_events_url":"https://api.github.com/users/DorianZheng/received_events","type":"User","site_admin":false},"repo":{"id":137301031,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczMDEwMzE=","name":"tikv","full_name":"DorianZheng/tikv","private":false,"owner":{"login":"DorianZheng","id":8065637,"node_id":"MDQ6VXNlcjgwNjU2Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8065637?v=4","gravatar_id":"","url":"https://api.github.com/users/DorianZheng","html_url":"https://github.com/DorianZheng","followers_url":"https://api.github.com/users/DorianZheng/followers","following_url":"https://api.github.com/users/DorianZheng/following{/other_user}","gists_url":"https://api.github.com/users/DorianZheng/gists{/gist_id}","starred_url":"https://api.github.com/users/DorianZheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DorianZheng/subscriptions","organizations_url":"https://api.github.com/users/DorianZheng/orgs","repos_url":"https://api.github.com/users/DorianZheng/repos","events_url":"https://api.github.com/users/DorianZheng/events{/privacy}","received_events_url":"https://api.github.com/users/DorianZheng/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DorianZheng/tikv","description":"Distributed transactional key value database powered by Rust and Raft","fork":true,"url":"https://api.github.com/repos/DorianZheng/tikv","forks_url":"https://api.github.com/repos/DorianZheng/tikv/forks","keys_url":"https://api.github.com/repos/DorianZheng/tikv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DorianZheng/tikv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DorianZheng/tikv/teams","hooks_url":"https://api.github.com/repos/DorianZheng/tikv/hooks","issue_events_url":"https://api.github.com/repos/DorianZheng/tikv/issues/events{/number}","events_url":"https://api.github.com/repos/DorianZheng/tikv/events","assignees_url":"https://api.github.com/repos/DorianZheng/tikv/assignees{/user}","branches_url":"https://api.github.com/repos/DorianZheng/tikv/branches{/branch}","tags_url":"https://api.github.com/repos/DorianZheng/tikv/tags","blobs_url":"https://api.github.com/repos/DorianZheng/tikv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DorianZheng/tikv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DorianZheng/tikv/git/refs{/sha}","trees_url":"https://api.github.com/repos/DorianZheng/tikv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DorianZheng/tikv/statuses/{sha}","languages_url":"https://api.github.com/repos/DorianZheng/tikv/languages","stargazers_url":"https://api.github.com/repos/DorianZheng/tikv/stargazers","contributors_url":"https://api.github.com/repos/DorianZheng/tikv/contributors","subscribers_url":"https://api.github.com/repos/DorianZheng/tikv/subscribers","subscription_url":"https://api.github.com/repos/DorianZheng/tikv/subscription","commits_url":"https://api.github.com/repos/DorianZheng/tikv/commits{/sha}","git_commits_url":"https://api.github.com/repos/DorianZheng/tikv/git/commits{/sha}","comments_url":"https://api.github.com/repos/DorianZheng/tikv/comments{/number}","issue_comment_url":"https://api.github.com/repos/DorianZheng/tikv/issues/comments{/number}","contents_url":"https://api.github.com/repos/DorianZheng/tikv/contents/{+path}","compare_url":"https://api.github.com/repos/DorianZheng/tikv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DorianZheng/tikv/merges","archive_url":"https://api.github.com/repos/DorianZheng/tikv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DorianZheng/tikv/downloads","issues_url":"https://api.github.com/repos/DorianZheng/tikv/issues{/number}","pulls_url":"https://api.github.com/repos/DorianZheng/tikv/pulls{/number}","milestones_url":"https://api.github.com/repos/DorianZheng/tikv/milestones{/number}","notifications_url":"https://api.github.com/repos/DorianZheng/tikv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DorianZheng/tikv/labels{/name}","releases_url":"https://api.github.com/repos/DorianZheng/tikv/releases{/id}","deployments_url":"https://api.github.com/repos/DorianZheng/tikv/deployments","created_at":"2018-06-14T03:23:52Z","updated_at":"2018-08-07T00:45:19Z","pushed_at":"2018-12-27T02:32:12Z","git_url":"git://github.com/DorianZheng/tikv.git","ssh_url":"git@github.com:DorianZheng/tikv.git","clone_url":"https://github.com/DorianZheng/tikv.git","svn_url":"https://github.com/DorianZheng/tikv","homepage":"https://pingcap.com","size":17709,"stargazers_count":0,"watchers_count":0,"language":"Rust","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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tikv:master","ref":"master","sha":"b2192bf1d11b09d5d25ef08a64f2539afb8287fc","user":{"login":"tikv","id":41004122,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDA0MTIy","avatar_url":"https://avatars2.githubusercontent.com/u/41004122?v=4","gravatar_id":"","url":"https://api.github.com/users/tikv","html_url":"https://github.com/tikv","followers_url":"https://api.github.com/users/tikv/followers","following_url":"https://api.github.com/users/tikv/following{/other_user}","gists_url":"https://api.github.com/users/tikv/gists{/gist_id}","starred_url":"https://api.github.com/users/tikv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikv/subscriptions","organizations_url":"https://api.github.com/users/tikv/orgs","repos_url":"https://api.github.com/users/tikv/repos","events_url":"https://api.github.com/users/tikv/events{/privacy}","received_events_url":"https://api.github.com/users/tikv/received_events","type":"Organization","site_admin":false},"repo":{"id":48833910,"node_id":"MDEwOlJlcG9zaXRvcnk0ODgzMzkxMA==","name":"tikv","full_name":"tikv/tikv","private":false,"owner":{"login":"tikv","id":41004122,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDA0MTIy","avatar_url":"https://avatars2.githubusercontent.com/u/41004122?v=4","gravatar_id":"","url":"https://api.github.com/users/tikv","html_url":"https://github.com/tikv","followers_url":"https://api.github.com/users/tikv/followers","following_url":"https://api.github.com/users/tikv/following{/other_user}","gists_url":"https://api.github.com/users/tikv/gists{/gist_id}","starred_url":"https://api.github.com/users/tikv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikv/subscriptions","organizations_url":"https://api.github.com/users/tikv/orgs","repos_url":"https://api.github.com/users/tikv/repos","events_url":"https://api.github.com/users/tikv/events{/privacy}","received_events_url":"https://api.github.com/users/tikv/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tikv/tikv","description":"Distributed transactional key-value database, originally created to complement TiDB","fork":false,"url":"https://api.github.com/repos/tikv/tikv","forks_url":"https://api.github.com/repos/tikv/tikv/forks","keys_url":"https://api.github.com/repos/tikv/tikv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tikv/tikv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tikv/tikv/teams","hooks_url":"https://api.github.com/repos/tikv/tikv/hooks","issue_events_url":"https://api.github.com/repos/tikv/tikv/issues/events{/number}","events_url":"https://api.github.com/repos/tikv/tikv/events","assignees_url":"https://api.github.com/repos/tikv/tikv/assignees{/user}","branches_url":"https://api.github.com/repos/tikv/tikv/branches{/branch}","tags_url":"https://api.github.com/repos/tikv/tikv/tags","blobs_url":"https://api.github.com/repos/tikv/tikv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tikv/tikv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tikv/tikv/git/refs{/sha}","trees_url":"https://api.github.com/repos/tikv/tikv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tikv/tikv/statuses/{sha}","languages_url":"https://api.github.com/repos/tikv/tikv/languages","stargazers_url":"https://api.github.com/repos/tikv/tikv/stargazers","contributors_url":"https://api.github.com/repos/tikv/tikv/contributors","subscribers_url":"https://api.github.com/repos/tikv/tikv/subscribers","subscription_url":"https://api.github.com/repos/tikv/tikv/subscription","commits_url":"https://api.github.com/repos/tikv/tikv/commits{/sha}","git_commits_url":"https://api.github.com/repos/tikv/tikv/git/commits{/sha}","comments_url":"https://api.github.com/repos/tikv/tikv/comments{/number}","issue_comment_url":"https://api.github.com/repos/tikv/tikv/issues/comments{/number}","contents_url":"https://api.github.com/repos/tikv/tikv/contents/{+path}","compare_url":"https://api.github.com/repos/tikv/tikv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tikv/tikv/merges","archive_url":"https://api.github.com/repos/tikv/tikv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tikv/tikv/downloads","issues_url":"https://api.github.com/repos/tikv/tikv/issues{/number}","pulls_url":"https://api.github.com/repos/tikv/tikv/pulls{/number}","milestones_url":"https://api.github.com/repos/tikv/tikv/milestones{/number}","notifications_url":"https://api.github.com/repos/tikv/tikv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tikv/tikv/labels{/name}","releases_url":"https://api.github.com/repos/tikv/tikv/releases{/id}","deployments_url":"https://api.github.com/repos/tikv/tikv/deployments","created_at":"2015-12-31T04:51:32Z","updated_at":"2018-12-27T03:52:43Z","pushed_at":"2018-12-27T03:37:55Z","git_url":"git://github.com/tikv/tikv.git","ssh_url":"git@github.com:tikv/tikv.git","clone_url":"https://github.com/tikv/tikv.git","svn_url":"https://github.com/tikv/tikv","homepage":"https://tikv.org","size":18626,"stargazers_count":4248,"watchers_count":4248,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":611,"mirror_url":null,"archived":false,"open_issues_count":325,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":611,"open_issues":325,"watchers":4248,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tikv/tikv/pulls/3955"},"html":{"href":"https://github.com/tikv/tikv/pull/3955"},"issue":{"href":"https://api.github.com/repos/tikv/tikv/issues/3955"},"comments":{"href":"https://api.github.com/repos/tikv/tikv/issues/3955/comments"},"review_comments":{"href":"https://api.github.com/repos/tikv/tikv/pulls/3955/comments"},"review_comment":{"href":"https://api.github.com/repos/tikv/tikv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tikv/tikv/pulls/3955/commits"},"statuses":{"href":"https://api.github.com/repos/tikv/tikv/statuses/e620a3ec01e01414783ae3dcaf78888034f81d67"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"CaitinChen"}}