{"action":"created","comment":{"url":"https://api.github.com/repos/baidu/bfs/pulls/comments/78139360","id":78139360,"diff_hunk":"@@ -36,22 +37,47 @@ void ScanNamespace(const std::string db_path) {\n         FileInfo info;\n         bool ret = info.ParseFromArray(it->value().data(), it->value().size());\n         if (!ret) {\n-            std::cerr << \"Parse failed \" << entry_id << \"-\" << key.substr(8) << std::endl;\n-            return;\n+            std::cerr << \"Try parse namespace failed: \" << entry_id << \"-\" << key.substr(8) << std::endl;\n+            return falses;","path":"src/utils/ns_dump.cc","position":31,"original_position":31,"commit_id":"65be08f91f8e0103db8508e7843318d16748ffdf","original_commit_id":"65be08f91f8e0103db8508e7843318d16748ffdf","user":{"login":"yvxiang","id":1382038,"avatar_url":"https://avatars.githubusercontent.com/u/1382038?v=3","gravatar_id":"","url":"https://api.github.com/users/yvxiang","html_url":"https://github.com/yvxiang","followers_url":"https://api.github.com/users/yvxiang/followers","following_url":"https://api.github.com/users/yvxiang/following{/other_user}","gists_url":"https://api.github.com/users/yvxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/yvxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvxiang/subscriptions","organizations_url":"https://api.github.com/users/yvxiang/orgs","repos_url":"https://api.github.com/users/yvxiang/repos","events_url":"https://api.github.com/users/yvxiang/events{/privacy}","received_events_url":"https://api.github.com/users/yvxiang/received_events","type":"User","site_admin":false},"body":"多个s","created_at":"2016-09-09T07:33:19Z","updated_at":"2016-09-09T07:33:19Z","html_url":"https://github.com/baidu/bfs/pull/479#discussion_r78139360","pull_request_url":"https://api.github.com/repos/baidu/bfs/pulls/479","_links":{"self":{"href":"https://api.github.com/repos/baidu/bfs/pulls/comments/78139360"},"html":{"href":"https://github.com/baidu/bfs/pull/479#discussion_r78139360"},"pull_request":{"href":"https://api.github.com/repos/baidu/bfs/pulls/479"}}},"pull_request":{"url":"https://api.github.com/repos/baidu/bfs/pulls/479","id":84605184,"html_url":"https://github.com/baidu/bfs/pull/479","diff_url":"https://github.com/baidu/bfs/pull/479.diff","patch_url":"https://github.com/baidu/bfs/pull/479.patch","issue_url":"https://api.github.com/repos/baidu/bfs/issues/479","number":479,"state":"open","locked":false,"title":"add dump cs meta","user":{"login":"lylei","id":2767333,"avatar_url":"https://avatars.githubusercontent.com/u/2767333?v=3","gravatar_id":"","url":"https://api.github.com/users/lylei","html_url":"https://github.com/lylei","followers_url":"https://api.github.com/users/lylei/followers","following_url":"https://api.github.com/users/lylei/following{/other_user}","gists_url":"https://api.github.com/users/lylei/gists{/gist_id}","starred_url":"https://api.github.com/users/lylei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lylei/subscriptions","organizations_url":"https://api.github.com/users/lylei/orgs","repos_url":"https://api.github.com/users/lylei/repos","events_url":"https://api.github.com/users/lylei/events{/privacy}","received_events_url":"https://api.github.com/users/lylei/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-09T07:25:39Z","updated_at":"2016-09-09T07:33:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"045e2a707a7456f98f545de483819e457cce28f4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/baidu/bfs/pulls/479/commits","review_comments_url":"https://api.github.com/repos/baidu/bfs/pulls/479/comments","review_comment_url":"https://api.github.com/repos/baidu/bfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/baidu/bfs/issues/479/comments","statuses_url":"https://api.github.com/repos/baidu/bfs/statuses/65be08f91f8e0103db8508e7843318d16748ffdf","head":{"label":"lylei:master","ref":"master","sha":"65be08f91f8e0103db8508e7843318d16748ffdf","user":{"login":"lylei","id":2767333,"avatar_url":"https://avatars.githubusercontent.com/u/2767333?v=3","gravatar_id":"","url":"https://api.github.com/users/lylei","html_url":"https://github.com/lylei","followers_url":"https://api.github.com/users/lylei/followers","following_url":"https://api.github.com/users/lylei/following{/other_user}","gists_url":"https://api.github.com/users/lylei/gists{/gist_id}","starred_url":"https://api.github.com/users/lylei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lylei/subscriptions","organizations_url":"https://api.github.com/users/lylei/orgs","repos_url":"https://api.github.com/users/lylei/repos","events_url":"https://api.github.com/users/lylei/events{/privacy}","received_events_url":"https://api.github.com/users/lylei/received_events","type":"User","site_admin":false},"repo":{"id":48720316,"name":"dfs","full_name":"lylei/dfs","owner":{"login":"lylei","id":2767333,"avatar_url":"https://avatars.githubusercontent.com/u/2767333?v=3","gravatar_id":"","url":"https://api.github.com/users/lylei","html_url":"https://github.com/lylei","followers_url":"https://api.github.com/users/lylei/followers","following_url":"https://api.github.com/users/lylei/following{/other_user}","gists_url":"https://api.github.com/users/lylei/gists{/gist_id}","starred_url":"https://api.github.com/users/lylei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lylei/subscriptions","organizations_url":"https://api.github.com/users/lylei/orgs","repos_url":"https://api.github.com/users/lylei/repos","events_url":"https://api.github.com/users/lylei/events{/privacy}","received_events_url":"https://api.github.com/users/lylei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lylei/dfs","description":"突然想写个分布式文件系统~","fork":true,"url":"https://api.github.com/repos/lylei/dfs","forks_url":"https://api.github.com/repos/lylei/dfs/forks","keys_url":"https://api.github.com/repos/lylei/dfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lylei/dfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lylei/dfs/teams","hooks_url":"https://api.github.com/repos/lylei/dfs/hooks","issue_events_url":"https://api.github.com/repos/lylei/dfs/issues/events{/number}","events_url":"https://api.github.com/repos/lylei/dfs/events","assignees_url":"https://api.github.com/repos/lylei/dfs/assignees{/user}","branches_url":"https://api.github.com/repos/lylei/dfs/branches{/branch}","tags_url":"https://api.github.com/repos/lylei/dfs/tags","blobs_url":"https://api.github.com/repos/lylei/dfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lylei/dfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lylei/dfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/lylei/dfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lylei/dfs/statuses/{sha}","languages_url":"https://api.github.com/repos/lylei/dfs/languages","stargazers_url":"https://api.github.com/repos/lylei/dfs/stargazers","contributors_url":"https://api.github.com/repos/lylei/dfs/contributors","subscribers_url":"https://api.github.com/repos/lylei/dfs/subscribers","subscription_url":"https://api.github.com/repos/lylei/dfs/subscription","commits_url":"https://api.github.com/repos/lylei/dfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/lylei/dfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/lylei/dfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/lylei/dfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/lylei/dfs/contents/{+path}","compare_url":"https://api.github.com/repos/lylei/dfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lylei/dfs/merges","archive_url":"https://api.github.com/repos/lylei/dfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lylei/dfs/downloads","issues_url":"https://api.github.com/repos/lylei/dfs/issues{/number}","pulls_url":"https://api.github.com/repos/lylei/dfs/pulls{/number}","milestones_url":"https://api.github.com/repos/lylei/dfs/milestones{/number}","notifications_url":"https://api.github.com/repos/lylei/dfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lylei/dfs/labels{/name}","releases_url":"https://api.github.com/repos/lylei/dfs/releases{/id}","deployments_url":"https://api.github.com/repos/lylei/dfs/deployments","created_at":"2015-12-29T01:20:31Z","updated_at":"2016-02-03T08:42:36Z","pushed_at":"2016-09-09T07:24:03Z","git_url":"git://github.com/lylei/dfs.git","ssh_url":"git@github.com:lylei/dfs.git","clone_url":"https://github.com/lylei/dfs.git","svn_url":"https://github.com/lylei/dfs","homepage":null,"size":11058,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"baidu:master","ref":"master","sha":"f2591696505242fc6c046883947a450155a81d46","user":{"login":"baidu","id":13245940,"avatar_url":"https://avatars.githubusercontent.com/u/13245940?v=3","gravatar_id":"","url":"https://api.github.com/users/baidu","html_url":"https://github.com/baidu","followers_url":"https://api.github.com/users/baidu/followers","following_url":"https://api.github.com/users/baidu/following{/other_user}","gists_url":"https://api.github.com/users/baidu/gists{/gist_id}","starred_url":"https://api.github.com/users/baidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baidu/subscriptions","organizations_url":"https://api.github.com/users/baidu/orgs","repos_url":"https://api.github.com/users/baidu/repos","events_url":"https://api.github.com/users/baidu/events{/privacy}","received_events_url":"https://api.github.com/users/baidu/received_events","type":"Organization","site_admin":false},"repo":{"id":26562172,"name":"bfs","full_name":"baidu/bfs","owner":{"login":"baidu","id":13245940,"avatar_url":"https://avatars.githubusercontent.com/u/13245940?v=3","gravatar_id":"","url":"https://api.github.com/users/baidu","html_url":"https://github.com/baidu","followers_url":"https://api.github.com/users/baidu/followers","following_url":"https://api.github.com/users/baidu/following{/other_user}","gists_url":"https://api.github.com/users/baidu/gists{/gist_id}","starred_url":"https://api.github.com/users/baidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baidu/subscriptions","organizations_url":"https://api.github.com/users/baidu/orgs","repos_url":"https://api.github.com/users/baidu/repos","events_url":"https://api.github.com/users/baidu/events{/privacy}","received_events_url":"https://api.github.com/users/baidu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/baidu/bfs","description":"The Baidu File System.","fork":false,"url":"https://api.github.com/repos/baidu/bfs","forks_url":"https://api.github.com/repos/baidu/bfs/forks","keys_url":"https://api.github.com/repos/baidu/bfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baidu/bfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baidu/bfs/teams","hooks_url":"https://api.github.com/repos/baidu/bfs/hooks","issue_events_url":"https://api.github.com/repos/baidu/bfs/issues/events{/number}","events_url":"https://api.github.com/repos/baidu/bfs/events","assignees_url":"https://api.github.com/repos/baidu/bfs/assignees{/user}","branches_url":"https://api.github.com/repos/baidu/bfs/branches{/branch}","tags_url":"https://api.github.com/repos/baidu/bfs/tags","blobs_url":"https://api.github.com/repos/baidu/bfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baidu/bfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baidu/bfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/baidu/bfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baidu/bfs/statuses/{sha}","languages_url":"https://api.github.com/repos/baidu/bfs/languages","stargazers_url":"https://api.github.com/repos/baidu/bfs/stargazers","contributors_url":"https://api.github.com/repos/baidu/bfs/contributors","subscribers_url":"https://api.github.com/repos/baidu/bfs/subscribers","subscription_url":"https://api.github.com/repos/baidu/bfs/subscription","commits_url":"https://api.github.com/repos/baidu/bfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/baidu/bfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/baidu/bfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/baidu/bfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/baidu/bfs/contents/{+path}","compare_url":"https://api.github.com/repos/baidu/bfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baidu/bfs/merges","archive_url":"https://api.github.com/repos/baidu/bfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baidu/bfs/downloads","issues_url":"https://api.github.com/repos/baidu/bfs/issues{/number}","pulls_url":"https://api.github.com/repos/baidu/bfs/pulls{/number}","milestones_url":"https://api.github.com/repos/baidu/bfs/milestones{/number}","notifications_url":"https://api.github.com/repos/baidu/bfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baidu/bfs/labels{/name}","releases_url":"https://api.github.com/repos/baidu/bfs/releases{/id}","deployments_url":"https://api.github.com/repos/baidu/bfs/deployments","created_at":"2014-11-13T00:00:29Z","updated_at":"2016-09-09T02:54:43Z","pushed_at":"2016-09-09T07:25:39Z","git_url":"git://github.com/baidu/bfs.git","ssh_url":"git@github.com:baidu/bfs.git","clone_url":"https://github.com/baidu/bfs.git","svn_url":"https://github.com/baidu/bfs","homepage":"","size":11916,"stargazers_count":56,"watchers_count":56,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":81,"forks":31,"open_issues":81,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/baidu/bfs/pulls/479"},"html":{"href":"https://github.com/baidu/bfs/pull/479"},"issue":{"href":"https://api.github.com/repos/baidu/bfs/issues/479"},"comments":{"href":"https://api.github.com/repos/baidu/bfs/issues/479/comments"},"review_comments":{"href":"https://api.github.com/repos/baidu/bfs/pulls/479/comments"},"review_comment":{"href":"https://api.github.com/repos/baidu/bfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/baidu/bfs/pulls/479/commits"},"statuses":{"href":"https://api.github.com/repos/baidu/bfs/statuses/65be08f91f8e0103db8508e7843318d16748ffdf"}}}}
{"actor":{"display_login":"yvxiang"}}