{"action":"created","comment":{"url":"https://api.github.com/repos/baidu/tera/pulls/comments/45876902","id":45876902,"diff_hunk":"@@ -62,6 +62,9 @@ int ModifyTable(tera::Table* table) {\n     // 修改需要先创建一个 RowMutation\n \n     tera::RowMutation* row = table->NewRowMutation(\"com.baidu.www/\");\n+    if (row == NULL) {\n+        abort();","path":"src/sample/tera_sample.cc","position":5,"original_position":5,"commit_id":"2efdf7ecf379ec983eedcdadc85c056821007925","original_commit_id":"2efdf7ecf379ec983eedcdadc85c056821007925","user":{"login":"taocp","id":5194281,"avatar_url":"https://avatars.githubusercontent.com/u/5194281?v=3","gravatar_id":"","url":"https://api.github.com/users/taocp","html_url":"https://github.com/taocp","followers_url":"https://api.github.com/users/taocp/followers","following_url":"https://api.github.com/users/taocp/following{/other_user}","gists_url":"https://api.github.com/users/taocp/gists{/gist_id}","starred_url":"https://api.github.com/users/taocp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taocp/subscriptions","organizations_url":"https://api.github.com/users/taocp/orgs","repos_url":"https://api.github.com/users/taocp/repos","events_url":"https://api.github.com/users/taocp/events{/privacy}","received_events_url":"https://api.github.com/users/taocp/received_events","type":"User","site_admin":false},"body":"嗯。\r\n当初用if()是因为里面还有其它操作的，后来给删了。现在直接assert就行。","created_at":"2015-11-25T15:09:23Z","updated_at":"2015-11-25T15:09:23Z","html_url":"https://github.com/baidu/tera/pull/505#discussion_r45876902","pull_request_url":"https://api.github.com/repos/baidu/tera/pulls/505","_links":{"self":{"href":"https://api.github.com/repos/baidu/tera/pulls/comments/45876902"},"html":{"href":"https://github.com/baidu/tera/pull/505#discussion_r45876902"},"pull_request":{"href":"https://api.github.com/repos/baidu/tera/pulls/505"}}},"pull_request":{"url":"https://api.github.com/repos/baidu/tera/pulls/505","id":51791034,"html_url":"https://github.com/baidu/tera/pull/505","diff_url":"https://github.com/baidu/tera/pull/505.diff","patch_url":"https://github.com/baidu/tera/pull/505.patch","issue_url":"https://api.github.com/repos/baidu/tera/issues/505","number":505,"state":"open","locked":false,"title":"issue=#504 rowkey-length-limit","user":{"login":"taocp","id":5194281,"avatar_url":"https://avatars.githubusercontent.com/u/5194281?v=3","gravatar_id":"","url":"https://api.github.com/users/taocp","html_url":"https://github.com/taocp","followers_url":"https://api.github.com/users/taocp/followers","following_url":"https://api.github.com/users/taocp/following{/other_user}","gists_url":"https://api.github.com/users/taocp/gists{/gist_id}","starred_url":"https://api.github.com/users/taocp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taocp/subscriptions","organizations_url":"https://api.github.com/users/taocp/orgs","repos_url":"https://api.github.com/users/taocp/repos","events_url":"https://api.github.com/users/taocp/events{/privacy}","received_events_url":"https://api.github.com/users/taocp/received_events","type":"User","site_admin":false},"body":"除了 rowkey 的长度，还应该有诸多其它限制。给用户更加精确的信息。\r\n\r\n这个用户比较急，先提了。","created_at":"2015-11-25T12:59:31Z","updated_at":"2015-11-25T15:09:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f3f557ffa70b40b714f069aba88159734f67ad1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/baidu/tera/pulls/505/commits","review_comments_url":"https://api.github.com/repos/baidu/tera/pulls/505/comments","review_comment_url":"https://api.github.com/repos/baidu/tera/pulls/comments{/number}","comments_url":"https://api.github.com/repos/baidu/tera/issues/505/comments","statuses_url":"https://api.github.com/repos/baidu/tera/statuses/2efdf7ecf379ec983eedcdadc85c056821007925","head":{"label":"taocp:rowkey-limit-64K","ref":"rowkey-limit-64K","sha":"2efdf7ecf379ec983eedcdadc85c056821007925","user":{"login":"taocp","id":5194281,"avatar_url":"https://avatars.githubusercontent.com/u/5194281?v=3","gravatar_id":"","url":"https://api.github.com/users/taocp","html_url":"https://github.com/taocp","followers_url":"https://api.github.com/users/taocp/followers","following_url":"https://api.github.com/users/taocp/following{/other_user}","gists_url":"https://api.github.com/users/taocp/gists{/gist_id}","starred_url":"https://api.github.com/users/taocp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taocp/subscriptions","organizations_url":"https://api.github.com/users/taocp/orgs","repos_url":"https://api.github.com/users/taocp/repos","events_url":"https://api.github.com/users/taocp/events{/privacy}","received_events_url":"https://api.github.com/users/taocp/received_events","type":"User","site_admin":false},"repo":{"id":32839075,"name":"tera","full_name":"taocp/tera","owner":{"login":"taocp","id":5194281,"avatar_url":"https://avatars.githubusercontent.com/u/5194281?v=3","gravatar_id":"","url":"https://api.github.com/users/taocp","html_url":"https://github.com/taocp","followers_url":"https://api.github.com/users/taocp/followers","following_url":"https://api.github.com/users/taocp/following{/other_user}","gists_url":"https://api.github.com/users/taocp/gists{/gist_id}","starred_url":"https://api.github.com/users/taocp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taocp/subscriptions","organizations_url":"https://api.github.com/users/taocp/orgs","repos_url":"https://api.github.com/users/taocp/repos","events_url":"https://api.github.com/users/taocp/events{/privacy}","received_events_url":"https://api.github.com/users/taocp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taocp/tera","description":"A distributed table storage system.","fork":true,"url":"https://api.github.com/repos/taocp/tera","forks_url":"https://api.github.com/repos/taocp/tera/forks","keys_url":"https://api.github.com/repos/taocp/tera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taocp/tera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taocp/tera/teams","hooks_url":"https://api.github.com/repos/taocp/tera/hooks","issue_events_url":"https://api.github.com/repos/taocp/tera/issues/events{/number}","events_url":"https://api.github.com/repos/taocp/tera/events","assignees_url":"https://api.github.com/repos/taocp/tera/assignees{/user}","branches_url":"https://api.github.com/repos/taocp/tera/branches{/branch}","tags_url":"https://api.github.com/repos/taocp/tera/tags","blobs_url":"https://api.github.com/repos/taocp/tera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taocp/tera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taocp/tera/git/refs{/sha}","trees_url":"https://api.github.com/repos/taocp/tera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taocp/tera/statuses/{sha}","languages_url":"https://api.github.com/repos/taocp/tera/languages","stargazers_url":"https://api.github.com/repos/taocp/tera/stargazers","contributors_url":"https://api.github.com/repos/taocp/tera/contributors","subscribers_url":"https://api.github.com/repos/taocp/tera/subscribers","subscription_url":"https://api.github.com/repos/taocp/tera/subscription","commits_url":"https://api.github.com/repos/taocp/tera/commits{/sha}","git_commits_url":"https://api.github.com/repos/taocp/tera/git/commits{/sha}","comments_url":"https://api.github.com/repos/taocp/tera/comments{/number}","issue_comment_url":"https://api.github.com/repos/taocp/tera/issues/comments{/number}","contents_url":"https://api.github.com/repos/taocp/tera/contents/{+path}","compare_url":"https://api.github.com/repos/taocp/tera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taocp/tera/merges","archive_url":"https://api.github.com/repos/taocp/tera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taocp/tera/downloads","issues_url":"https://api.github.com/repos/taocp/tera/issues{/number}","pulls_url":"https://api.github.com/repos/taocp/tera/pulls{/number}","milestones_url":"https://api.github.com/repos/taocp/tera/milestones{/number}","notifications_url":"https://api.github.com/repos/taocp/tera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taocp/tera/labels{/name}","releases_url":"https://api.github.com/repos/taocp/tera/releases{/id}","created_at":"2015-03-25T02:57:20Z","updated_at":"2015-05-05T11:37:02Z","pushed_at":"2015-11-25T12:50:08Z","git_url":"git://github.com/taocp/tera.git","ssh_url":"git@github.com:taocp/tera.git","clone_url":"https://github.com/taocp/tera.git","svn_url":"https://github.com/taocp/tera","homepage":"","size":12263,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"baidu:master","ref":"master","sha":"8942cc34199cf126a1fe302d67a5d5a5fe9df391","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":18129915,"name":"tera","full_name":"baidu/tera","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/tera","description":"A distributed, elastic, structured database.","fork":false,"url":"https://api.github.com/repos/baidu/tera","forks_url":"https://api.github.com/repos/baidu/tera/forks","keys_url":"https://api.github.com/repos/baidu/tera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baidu/tera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baidu/tera/teams","hooks_url":"https://api.github.com/repos/baidu/tera/hooks","issue_events_url":"https://api.github.com/repos/baidu/tera/issues/events{/number}","events_url":"https://api.github.com/repos/baidu/tera/events","assignees_url":"https://api.github.com/repos/baidu/tera/assignees{/user}","branches_url":"https://api.github.com/repos/baidu/tera/branches{/branch}","tags_url":"https://api.github.com/repos/baidu/tera/tags","blobs_url":"https://api.github.com/repos/baidu/tera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baidu/tera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baidu/tera/git/refs{/sha}","trees_url":"https://api.github.com/repos/baidu/tera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baidu/tera/statuses/{sha}","languages_url":"https://api.github.com/repos/baidu/tera/languages","stargazers_url":"https://api.github.com/repos/baidu/tera/stargazers","contributors_url":"https://api.github.com/repos/baidu/tera/contributors","subscribers_url":"https://api.github.com/repos/baidu/tera/subscribers","subscription_url":"https://api.github.com/repos/baidu/tera/subscription","commits_url":"https://api.github.com/repos/baidu/tera/commits{/sha}","git_commits_url":"https://api.github.com/repos/baidu/tera/git/commits{/sha}","comments_url":"https://api.github.com/repos/baidu/tera/comments{/number}","issue_comment_url":"https://api.github.com/repos/baidu/tera/issues/comments{/number}","contents_url":"https://api.github.com/repos/baidu/tera/contents/{+path}","compare_url":"https://api.github.com/repos/baidu/tera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baidu/tera/merges","archive_url":"https://api.github.com/repos/baidu/tera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baidu/tera/downloads","issues_url":"https://api.github.com/repos/baidu/tera/issues{/number}","pulls_url":"https://api.github.com/repos/baidu/tera/pulls{/number}","milestones_url":"https://api.github.com/repos/baidu/tera/milestones{/number}","notifications_url":"https://api.github.com/repos/baidu/tera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baidu/tera/labels{/name}","releases_url":"https://api.github.com/repos/baidu/tera/releases{/id}","created_at":"2014-03-26T07:22:05Z","updated_at":"2015-11-25T11:52:16Z","pushed_at":"2015-11-25T14:55:07Z","git_url":"git://github.com/baidu/tera.git","ssh_url":"git@github.com:baidu/tera.git","clone_url":"https://github.com/baidu/tera.git","svn_url":"https://github.com/baidu/tera","homepage":"","size":14731,"stargazers_count":327,"watchers_count":327,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":106,"mirror_url":null,"open_issues_count":67,"forks":106,"open_issues":67,"watchers":327,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/baidu/tera/pulls/505"},"html":{"href":"https://github.com/baidu/tera/pull/505"},"issue":{"href":"https://api.github.com/repos/baidu/tera/issues/505"},"comments":{"href":"https://api.github.com/repos/baidu/tera/issues/505/comments"},"review_comments":{"href":"https://api.github.com/repos/baidu/tera/pulls/505/comments"},"review_comment":{"href":"https://api.github.com/repos/baidu/tera/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/baidu/tera/pulls/505/commits"},"statuses":{"href":"https://api.github.com/repos/baidu/tera/statuses/2efdf7ecf379ec983eedcdadc85c056821007925"}}}}