{"action":"created","comment":{"url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/comments/56784074","id":56784074,"diff_hunk":"@@ -24,95 +24,74 @@ specific language governing permissions and limitations\n under the License.\n -->\n \n-This document describes Flink's fault tolerance mechanism for streaming data flows.\n+本文档描述了 Flink 中Data Streaming的容错机制。\n \n * This will be replaced by the TOC\n {:toc}\n \n \n-## Introduction\n+## 简介\n \n-Apache Flink offers a fault tolerance mechanism to consistently recover the state of data streaming applications.\n-The mechanism ensures that even in the presence of failures, the program's state will eventually reflect every\n-record from the data stream **exactly once**. Note that there is a switch to *downgrade* the guarantees to *at least once*\n-(described below).\n+Apache Flink 提供一种容错的机制来保证Data Streaming应用在恢复状态时能保证一致性。这种机制保证了即使出现故障，数据流中的每条记录只会作用于状态一次 **exactly-once**。另外 Apache Flink 还提供了降级的机制，只保证 *at least once* 的语义。\n \n-The fault tolerance mechanism continuously draws snapshots of the distributed streaming data flow. For streaming applications\n-with small state, these snapshots are very light-weight and can be drawn frequently without impacting the performance much.\n-The state of the streaming applications is stored at a configurable place (such as the master node, or HDFS).\n+这个机制在整个计算的过程中，通过持续不断的给分布式数据流的状态信息打上快照来实现。相对于那些只维护较少数据量的状态的应用，打快照是非常轻量级的，可以持续地操作而并不会对性能造成多大的影响。\n+状态的快照数据可以根据配置，存储到对应的存储器上(例如存到 master 节点，或者 HDFS)","path":"internals/stream_checkpointing.md","position":36,"original_position":36,"commit_id":"47d1c629285b0dc46b4678f03e8b2ae07e4c6464","original_commit_id":"47d1c629285b0dc46b4678f03e8b2ae07e4c6464","user":{"login":"bakey","id":1566848,"avatar_url":"https://avatars.githubusercontent.com/u/1566848?v=3","gravatar_id":"","url":"https://api.github.com/users/bakey","html_url":"https://github.com/bakey","followers_url":"https://api.github.com/users/bakey/followers","following_url":"https://api.github.com/users/bakey/following{/other_user}","gists_url":"https://api.github.com/users/bakey/gists{/gist_id}","starred_url":"https://api.github.com/users/bakey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakey/subscriptions","organizations_url":"https://api.github.com/users/bakey/orgs","repos_url":"https://api.github.com/users/bakey/repos","events_url":"https://api.github.com/users/bakey/events{/privacy}","received_events_url":"https://api.github.com/users/bakey/received_events","type":"User","site_admin":false},"body":"这个我感觉差不多吧，我斟酌一下稍微再优化一下，应该不用大改吧","created_at":"2016-03-21T05:44:44Z","updated_at":"2016-03-21T05:44:44Z","html_url":"https://github.com/flink-china/flink-china-doc/pull/28#discussion_r56784074","pull_request_url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/comments/56784074"},"html":{"href":"https://github.com/flink-china/flink-china-doc/pull/28#discussion_r56784074"},"pull_request":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28","id":63178007,"html_url":"https://github.com/flink-china/flink-china-doc/pull/28","diff_url":"https://github.com/flink-china/flink-china-doc/pull/28.diff","patch_url":"https://github.com/flink-china/flink-china-doc/pull/28.patch","issue_url":"https://api.github.com/repos/flink-china/flink-china-doc/issues/28","number":28,"state":"open","locked":false,"title":"commit the translation of \"Fault Tolerance for Data Streaming\"","user":{"login":"bakey","id":1566848,"avatar_url":"https://avatars.githubusercontent.com/u/1566848?v=3","gravatar_id":"","url":"https://api.github.com/users/bakey","html_url":"https://github.com/bakey","followers_url":"https://api.github.com/users/bakey/followers","following_url":"https://api.github.com/users/bakey/following{/other_user}","gists_url":"https://api.github.com/users/bakey/gists{/gist_id}","starred_url":"https://api.github.com/users/bakey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakey/subscriptions","organizations_url":"https://api.github.com/users/bakey/orgs","repos_url":"https://api.github.com/users/bakey/repos","events_url":"https://api.github.com/users/bakey/events{/privacy}","received_events_url":"https://api.github.com/users/bakey/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-17T06:18:14Z","updated_at":"2016-03-21T05:44:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fad3ca014170784485721e94a713b41b75f94b69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28/commits","review_comments_url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28/comments","review_comment_url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flink-china/flink-china-doc/issues/28/comments","statuses_url":"https://api.github.com/repos/flink-china/flink-china-doc/statuses/47d1c629285b0dc46b4678f03e8b2ae07e4c6464","head":{"label":"bakey:master","ref":"master","sha":"47d1c629285b0dc46b4678f03e8b2ae07e4c6464","user":{"login":"bakey","id":1566848,"avatar_url":"https://avatars.githubusercontent.com/u/1566848?v=3","gravatar_id":"","url":"https://api.github.com/users/bakey","html_url":"https://github.com/bakey","followers_url":"https://api.github.com/users/bakey/followers","following_url":"https://api.github.com/users/bakey/following{/other_user}","gists_url":"https://api.github.com/users/bakey/gists{/gist_id}","starred_url":"https://api.github.com/users/bakey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakey/subscriptions","organizations_url":"https://api.github.com/users/bakey/orgs","repos_url":"https://api.github.com/users/bakey/repos","events_url":"https://api.github.com/users/bakey/events{/privacy}","received_events_url":"https://api.github.com/users/bakey/received_events","type":"User","site_admin":false},"repo":{"id":53544433,"name":"flink-china-doc","full_name":"bakey/flink-china-doc","owner":{"login":"bakey","id":1566848,"avatar_url":"https://avatars.githubusercontent.com/u/1566848?v=3","gravatar_id":"","url":"https://api.github.com/users/bakey","html_url":"https://github.com/bakey","followers_url":"https://api.github.com/users/bakey/followers","following_url":"https://api.github.com/users/bakey/following{/other_user}","gists_url":"https://api.github.com/users/bakey/gists{/gist_id}","starred_url":"https://api.github.com/users/bakey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakey/subscriptions","organizations_url":"https://api.github.com/users/bakey/orgs","repos_url":"https://api.github.com/users/bakey/repos","events_url":"https://api.github.com/users/bakey/events{/privacy}","received_events_url":"https://api.github.com/users/bakey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bakey/flink-china-doc","description":"Flink 官方文档中文翻译项目 :cn:","fork":true,"url":"https://api.github.com/repos/bakey/flink-china-doc","forks_url":"https://api.github.com/repos/bakey/flink-china-doc/forks","keys_url":"https://api.github.com/repos/bakey/flink-china-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakey/flink-china-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakey/flink-china-doc/teams","hooks_url":"https://api.github.com/repos/bakey/flink-china-doc/hooks","issue_events_url":"https://api.github.com/repos/bakey/flink-china-doc/issues/events{/number}","events_url":"https://api.github.com/repos/bakey/flink-china-doc/events","assignees_url":"https://api.github.com/repos/bakey/flink-china-doc/assignees{/user}","branches_url":"https://api.github.com/repos/bakey/flink-china-doc/branches{/branch}","tags_url":"https://api.github.com/repos/bakey/flink-china-doc/tags","blobs_url":"https://api.github.com/repos/bakey/flink-china-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakey/flink-china-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakey/flink-china-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakey/flink-china-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakey/flink-china-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/bakey/flink-china-doc/languages","stargazers_url":"https://api.github.com/repos/bakey/flink-china-doc/stargazers","contributors_url":"https://api.github.com/repos/bakey/flink-china-doc/contributors","subscribers_url":"https://api.github.com/repos/bakey/flink-china-doc/subscribers","subscription_url":"https://api.github.com/repos/bakey/flink-china-doc/subscription","commits_url":"https://api.github.com/repos/bakey/flink-china-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakey/flink-china-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakey/flink-china-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakey/flink-china-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakey/flink-china-doc/contents/{+path}","compare_url":"https://api.github.com/repos/bakey/flink-china-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakey/flink-china-doc/merges","archive_url":"https://api.github.com/repos/bakey/flink-china-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakey/flink-china-doc/downloads","issues_url":"https://api.github.com/repos/bakey/flink-china-doc/issues{/number}","pulls_url":"https://api.github.com/repos/bakey/flink-china-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/bakey/flink-china-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/bakey/flink-china-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakey/flink-china-doc/labels{/name}","releases_url":"https://api.github.com/repos/bakey/flink-china-doc/releases{/id}","deployments_url":"https://api.github.com/repos/bakey/flink-china-doc/deployments","created_at":"2016-03-10T01:16:32Z","updated_at":"2016-03-10T01:16:33Z","pushed_at":"2016-03-18T00:59:09Z","git_url":"git://github.com/bakey/flink-china-doc.git","ssh_url":"git@github.com:bakey/flink-china-doc.git","clone_url":"https://github.com/bakey/flink-china-doc.git","svn_url":"https://github.com/bakey/flink-china-doc","homepage":"http://doc.flink-china.org","size":5040,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"flink-china:master","ref":"master","sha":"59878452651169d5063d29db5ac242f0e13cc4bf","user":{"login":"flink-china","id":17588915,"avatar_url":"https://avatars.githubusercontent.com/u/17588915?v=3","gravatar_id":"","url":"https://api.github.com/users/flink-china","html_url":"https://github.com/flink-china","followers_url":"https://api.github.com/users/flink-china/followers","following_url":"https://api.github.com/users/flink-china/following{/other_user}","gists_url":"https://api.github.com/users/flink-china/gists{/gist_id}","starred_url":"https://api.github.com/users/flink-china/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flink-china/subscriptions","organizations_url":"https://api.github.com/users/flink-china/orgs","repos_url":"https://api.github.com/users/flink-china/repos","events_url":"https://api.github.com/users/flink-china/events{/privacy}","received_events_url":"https://api.github.com/users/flink-china/received_events","type":"Organization","site_admin":false},"repo":{"id":52929777,"name":"flink-china-doc","full_name":"flink-china/flink-china-doc","owner":{"login":"flink-china","id":17588915,"avatar_url":"https://avatars.githubusercontent.com/u/17588915?v=3","gravatar_id":"","url":"https://api.github.com/users/flink-china","html_url":"https://github.com/flink-china","followers_url":"https://api.github.com/users/flink-china/followers","following_url":"https://api.github.com/users/flink-china/following{/other_user}","gists_url":"https://api.github.com/users/flink-china/gists{/gist_id}","starred_url":"https://api.github.com/users/flink-china/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flink-china/subscriptions","organizations_url":"https://api.github.com/users/flink-china/orgs","repos_url":"https://api.github.com/users/flink-china/repos","events_url":"https://api.github.com/users/flink-china/events{/privacy}","received_events_url":"https://api.github.com/users/flink-china/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flink-china/flink-china-doc","description":"Flink 官方文档中文翻译项目 :cn:","fork":false,"url":"https://api.github.com/repos/flink-china/flink-china-doc","forks_url":"https://api.github.com/repos/flink-china/flink-china-doc/forks","keys_url":"https://api.github.com/repos/flink-china/flink-china-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flink-china/flink-china-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flink-china/flink-china-doc/teams","hooks_url":"https://api.github.com/repos/flink-china/flink-china-doc/hooks","issue_events_url":"https://api.github.com/repos/flink-china/flink-china-doc/issues/events{/number}","events_url":"https://api.github.com/repos/flink-china/flink-china-doc/events","assignees_url":"https://api.github.com/repos/flink-china/flink-china-doc/assignees{/user}","branches_url":"https://api.github.com/repos/flink-china/flink-china-doc/branches{/branch}","tags_url":"https://api.github.com/repos/flink-china/flink-china-doc/tags","blobs_url":"https://api.github.com/repos/flink-china/flink-china-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flink-china/flink-china-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flink-china/flink-china-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/flink-china/flink-china-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flink-china/flink-china-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/flink-china/flink-china-doc/languages","stargazers_url":"https://api.github.com/repos/flink-china/flink-china-doc/stargazers","contributors_url":"https://api.github.com/repos/flink-china/flink-china-doc/contributors","subscribers_url":"https://api.github.com/repos/flink-china/flink-china-doc/subscribers","subscription_url":"https://api.github.com/repos/flink-china/flink-china-doc/subscription","commits_url":"https://api.github.com/repos/flink-china/flink-china-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/flink-china/flink-china-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/flink-china/flink-china-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/flink-china/flink-china-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/flink-china/flink-china-doc/contents/{+path}","compare_url":"https://api.github.com/repos/flink-china/flink-china-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flink-china/flink-china-doc/merges","archive_url":"https://api.github.com/repos/flink-china/flink-china-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flink-china/flink-china-doc/downloads","issues_url":"https://api.github.com/repos/flink-china/flink-china-doc/issues{/number}","pulls_url":"https://api.github.com/repos/flink-china/flink-china-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/flink-china/flink-china-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/flink-china/flink-china-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flink-china/flink-china-doc/labels{/name}","releases_url":"https://api.github.com/repos/flink-china/flink-china-doc/releases{/id}","deployments_url":"https://api.github.com/repos/flink-china/flink-china-doc/deployments","created_at":"2016-03-02T03:16:55Z","updated_at":"2016-03-16T02:03:49Z","pushed_at":"2016-03-21T04:34:24Z","git_url":"git://github.com/flink-china/flink-china-doc.git","ssh_url":"git@github.com:flink-china/flink-china-doc.git","clone_url":"https://github.com/flink-china/flink-china-doc.git","svn_url":"https://github.com/flink-china/flink-china-doc","homepage":"http://doc.flink-china.org","size":5793,"stargazers_count":11,"watchers_count":11,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":13,"forks":15,"open_issues":13,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28"},"html":{"href":"https://github.com/flink-china/flink-china-doc/pull/28"},"issue":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/issues/28"},"comments":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/flink-china/flink-china-doc/statuses/47d1c629285b0dc46b4678f03e8b2ae07e4c6464"}}}}