Leeviiii commented on a change in pull request #8300: [FLINK-11638][docs-zh] Translate Savepoints page into Chinese URL: https://github.com/apache/flink/pull/8300#discussion_r279326911
########## File path: docs/ops/state/savepoints.zh.md ########## @@ -25,32 +25,24 @@ under the License. * toc {:toc} -## What is a Savepoint? How is a Savepoint different from a Checkpoint? +## 什么是 Savepoint ? Savepoint 与 Checkpoint 有什么不同? -A Savepoint is a consistent image of the execution state of a streaming job, created via Flink's [checkpointing mechanism]({{ site.baseurl }}/internals/stream_checkpointing.html). You can use Savepoints to stop-and-resume, fork, -or update your Flink jobs. Savepoints consist of two parts: a directory with (typically large) binary files on stable storage (e.g. HDFS, S3, ...) and a (relatively small) meta data file. The files on stable storage represent the net data of the job's execution state -image. The meta data file of a Savepoint contains (primarily) pointers to all files on stable storage that are part of the Savepoint, in form of absolute paths. +Savepoint 是依据 Flink [检查点机制]({{ site.baseurl }}/internals/stream_checkpointing.html)所创建的流作业执行状态的一致镜像。 您可以使用 Savepoint 来停止并恢复,fork,或更新您的 Flink 工作。 Savepoint 由两部分组成:具有稳定存储(例如 HDFS,S3,...)上的(通常是大的)二进制文件的目录和(相对较小的)元数据文件。 稳定存储上的文件表示作业执行状态的净数据图片。 Savepoint 的元数据文件以(绝对路径)的形式包含(主要)指向作为 Savepoint 一部分的稳定存储上的所有文件的指针。 <div class="alert alert-warning"> -<strong>Attention:</strong> In order to allow upgrades between programs and Flink versions, it is important to check out the following section about <a href="#assigning-operator-ids">assigning IDs to your operators</a>. +<strong>注意:</strong> 为了允许程序和 Flink 版本之间的升级,请务必查看以下有关<a href="#assigning-operator-ids">分配算子 ID </a>的部分 。 </div> +从概念上讲,Flink 的 Savepoint 与 Checkpoint 的不同之处在于备份与传统数据库系统中的恢复日志不同。 检查点的主要目的是提供恢复机制,以防万一 Review comment: 1. 从概念上讲,Flink 的 Savepoint 与 Checkpoint 的不同之处在于备份与传统数据库系统中的恢复日志不同 -->从概念上讲, Flink 的 Savepoint 与 Checkpoint 的不同之处类似于传统数据库中的备份与恢复日志之间的差异。 2. 检查点的主要目的是提供恢复机制,以防万一出乎意料的失业 --> Checkpoint的主要目的是为意外失败的作为提供恢复机制。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services