{"action":"created","comment":{"url":"https://api.github.com/repos/baidu/tera/pulls/comments/63667726","id":63667726,"diff_hunk":"@@ -1032,6 +1033,20 @@ bool ClientImpl::Rename(const std::string& old_table_name,\n     return true;\n }\n \n+Transaction* ClientImpl::NewTransaction() {","path":"src/sdk/client_impl.cc","position":16,"original_position":16,"commit_id":"f50bffcfe76b40b6353475e27867159523ea70ff","original_commit_id":"f50bffcfe76b40b6353475e27867159523ea70ff","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":"把`NewTransaction()`放在Client里面，将来实现了跨集群的事务，这个接口岂不是还要再调整 :joy: ","created_at":"2016-05-18T08:55:58Z","updated_at":"2016-05-18T08:55:58Z","html_url":"https://github.com/baidu/tera/pull/884#discussion_r63667726","pull_request_url":"https://api.github.com/repos/baidu/tera/pulls/884","_links":{"self":{"href":"https://api.github.com/repos/baidu/tera/pulls/comments/63667726"},"html":{"href":"https://github.com/baidu/tera/pull/884#discussion_r63667726"},"pull_request":{"href":"https://api.github.com/repos/baidu/tera/pulls/884"}}},"pull_request":{"url":"https://api.github.com/repos/baidu/tera/pulls/884","id":69993420,"html_url":"https://github.com/baidu/tera/pull/884","diff_url":"https://github.com/baidu/tera/pull/884.diff","patch_url":"https://github.com/baidu/tera/pull/884.patch","issue_url":"https://api.github.com/repos/baidu/tera/issues/884","number":884,"state":"open","locked":false,"title":"ISSUE=#877 row txn api and basic dataflow","user":{"login":"00k","id":9716419,"avatar_url":"https://avatars.githubusercontent.com/u/9716419?v=3","gravatar_id":"","url":"https://api.github.com/users/00k","html_url":"https://github.com/00k","followers_url":"https://api.github.com/users/00k/followers","following_url":"https://api.github.com/users/00k/following{/other_user}","gists_url":"https://api.github.com/users/00k/gists{/gist_id}","starred_url":"https://api.github.com/users/00k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/00k/subscriptions","organizations_url":"https://api.github.com/users/00k/orgs","repos_url":"https://api.github.com/users/00k/repos","events_url":"https://api.github.com/users/00k/events{/privacy}","received_events_url":"https://api.github.com/users/00k/received_events","type":"User","site_admin":false},"body":"#877  分成下面四次PR，本次是1\r\n1. API和读写数据流\r\n2. TS支持row max sequence\r\n3. row max sequence和数据流结合\r\n4. 支持临时快照（待定）","created_at":"2016-05-13T13:12:36Z","updated_at":"2016-05-18T08:55:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0dc6354fd7c72bf59aedd36844fcf559ad28532","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/baidu/tera/pulls/884/commits","review_comments_url":"https://api.github.com/repos/baidu/tera/pulls/884/comments","review_comment_url":"https://api.github.com/repos/baidu/tera/pulls/comments{/number}","comments_url":"https://api.github.com/repos/baidu/tera/issues/884/comments","statuses_url":"https://api.github.com/repos/baidu/tera/statuses/f50bffcfe76b40b6353475e27867159523ea70ff","head":{"label":"00k:row_txn_for_pr","ref":"row_txn_for_pr","sha":"f50bffcfe76b40b6353475e27867159523ea70ff","user":{"login":"00k","id":9716419,"avatar_url":"https://avatars.githubusercontent.com/u/9716419?v=3","gravatar_id":"","url":"https://api.github.com/users/00k","html_url":"https://github.com/00k","followers_url":"https://api.github.com/users/00k/followers","following_url":"https://api.github.com/users/00k/following{/other_user}","gists_url":"https://api.github.com/users/00k/gists{/gist_id}","starred_url":"https://api.github.com/users/00k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/00k/subscriptions","organizations_url":"https://api.github.com/users/00k/orgs","repos_url":"https://api.github.com/users/00k/repos","events_url":"https://api.github.com/users/00k/events{/privacy}","received_events_url":"https://api.github.com/users/00k/received_events","type":"User","site_admin":false},"repo":{"id":32000292,"name":"tera","full_name":"00k/tera","owner":{"login":"00k","id":9716419,"avatar_url":"https://avatars.githubusercontent.com/u/9716419?v=3","gravatar_id":"","url":"https://api.github.com/users/00k","html_url":"https://github.com/00k","followers_url":"https://api.github.com/users/00k/followers","following_url":"https://api.github.com/users/00k/following{/other_user}","gists_url":"https://api.github.com/users/00k/gists{/gist_id}","starred_url":"https://api.github.com/users/00k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/00k/subscriptions","organizations_url":"https://api.github.com/users/00k/orgs","repos_url":"https://api.github.com/users/00k/repos","events_url":"https://api.github.com/users/00k/events{/privacy}","received_events_url":"https://api.github.com/users/00k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/00k/tera","description":"A distributed table storage system.","fork":true,"url":"https://api.github.com/repos/00k/tera","forks_url":"https://api.github.com/repos/00k/tera/forks","keys_url":"https://api.github.com/repos/00k/tera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/00k/tera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/00k/tera/teams","hooks_url":"https://api.github.com/repos/00k/tera/hooks","issue_events_url":"https://api.github.com/repos/00k/tera/issues/events{/number}","events_url":"https://api.github.com/repos/00k/tera/events","assignees_url":"https://api.github.com/repos/00k/tera/assignees{/user}","branches_url":"https://api.github.com/repos/00k/tera/branches{/branch}","tags_url":"https://api.github.com/repos/00k/tera/tags","blobs_url":"https://api.github.com/repos/00k/tera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/00k/tera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/00k/tera/git/refs{/sha}","trees_url":"https://api.github.com/repos/00k/tera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/00k/tera/statuses/{sha}","languages_url":"https://api.github.com/repos/00k/tera/languages","stargazers_url":"https://api.github.com/repos/00k/tera/stargazers","contributors_url":"https://api.github.com/repos/00k/tera/contributors","subscribers_url":"https://api.github.com/repos/00k/tera/subscribers","subscription_url":"https://api.github.com/repos/00k/tera/subscription","commits_url":"https://api.github.com/repos/00k/tera/commits{/sha}","git_commits_url":"https://api.github.com/repos/00k/tera/git/commits{/sha}","comments_url":"https://api.github.com/repos/00k/tera/comments{/number}","issue_comment_url":"https://api.github.com/repos/00k/tera/issues/comments{/number}","contents_url":"https://api.github.com/repos/00k/tera/contents/{+path}","compare_url":"https://api.github.com/repos/00k/tera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/00k/tera/merges","archive_url":"https://api.github.com/repos/00k/tera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/00k/tera/downloads","issues_url":"https://api.github.com/repos/00k/tera/issues{/number}","pulls_url":"https://api.github.com/repos/00k/tera/pulls{/number}","milestones_url":"https://api.github.com/repos/00k/tera/milestones{/number}","notifications_url":"https://api.github.com/repos/00k/tera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/00k/tera/labels{/name}","releases_url":"https://api.github.com/repos/00k/tera/releases{/id}","deployments_url":"https://api.github.com/repos/00k/tera/deployments","created_at":"2015-03-11T05:36:34Z","updated_at":"2016-01-11T03:35:16Z","pushed_at":"2016-05-16T02:59:16Z","git_url":"git://github.com/00k/tera.git","ssh_url":"git@github.com:00k/tera.git","clone_url":"https://github.com/00k/tera.git","svn_url":"https://github.com/00k/tera","homepage":"","size":13380,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"baidu:master","ref":"master","sha":"8cf5b2c12c0069519a50003c80fb076472ae563f","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}","deployments_url":"https://api.github.com/repos/baidu/tera/deployments","created_at":"2014-03-26T07:22:05Z","updated_at":"2016-05-18T03:45:00Z","pushed_at":"2016-05-18T05:15: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":16932,"stargazers_count":388,"watchers_count":388,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":136,"mirror_url":null,"open_issues_count":167,"forks":136,"open_issues":167,"watchers":388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/baidu/tera/pulls/884"},"html":{"href":"https://github.com/baidu/tera/pull/884"},"issue":{"href":"https://api.github.com/repos/baidu/tera/issues/884"},"comments":{"href":"https://api.github.com/repos/baidu/tera/issues/884/comments"},"review_comments":{"href":"https://api.github.com/repos/baidu/tera/pulls/884/comments"},"review_comment":{"href":"https://api.github.com/repos/baidu/tera/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/baidu/tera/pulls/884/commits"},"statuses":{"href":"https://api.github.com/repos/baidu/tera/statuses/f50bffcfe76b40b6353475e27867159523ea70ff"}}}}