1996fanrui commented on a change in pull request #9454: [FLINK-13644][docs-zh]
Translate "State Backends" page into Chinese
URL: https://github.com/apache/flink/pull/9454#discussion_r315496390
##########
File path: docs/ops/state/state_backends.zh.md
##########
@@ -22,114 +22,111 @@ specific language governing permissions and limitations
under the License.
-->
-Programs written in the [Data Stream API]({{ site.baseurl
}}/dev/datastream_api.html) often hold state in various forms:
+用 [Data Stream API]({{ site.baseurl }}/zh/dev/datastream_api.html)
编写的程序通常以各种形式保存状态:
-- Windows gather elements or aggregates until they are triggered
-- Transformation functions may use the key/value state interface to store
values
-- Transformation functions may implement the `CheckpointedFunction` interface
to make their local variables fault tolerant
+- 在 Window 触发之前要么收集元素、要么聚合
+- 转换函数可以使用 key/value 格式的状态接口来存储状态
+- 转换函数可以实现 `CheckpointedFunction` 接口,使其本地变量具有容错能力
-See also [state section]({{ site.baseurl }}/dev/stream/state/index.html) in
the streaming API guide.
+另请参阅 Streaming API 指南中的 [状态部分]({{ site.baseurl
}}/zh/dev/stream/state/index.html) 。
-When checkpointing is activated, such state is persisted upon checkpoints to
guard against data loss and recover consistently.
-How the state is represented internally, and how and where it is persisted
upon checkpoints depends on the
-chosen **State Backend**.
+CheckPoint 开启时,CheckPoint 持续地进行来防止数据丢失,并且能够完整地恢复。
Review comment:
同意
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services