You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2018/10/04 11:34:13 UTC

[flink] 02/02: [FLINK-10345][docs] Added note with warning about removing savepoints

This is an automated email from the ASF dual-hosted git repository.

dwysakowicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 4d5b7efc3943fadae6b39eeb44b0411f450dce02
Author: Dawid Wysakowicz <dw...@apache.org>
AuthorDate: Thu Sep 20 11:19:31 2018 +0200

    [FLINK-10345][docs] Added note with warning about removing savepoints
---
 docs/ops/state/savepoints.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/ops/state/savepoints.md b/docs/ops/state/savepoints.md
index 26aaf27..be653f5 100644
--- a/docs/ops/state/savepoints.md
+++ b/docs/ops/state/savepoints.md
@@ -118,6 +118,11 @@ Please follow <a href="https://issues.apache.org/jira/browse/FLINK-5778">FLINK-5
 
 Note that if you use the `MemoryStateBackend`, metadata *and* savepoint state will be stored in the `_metadata` file. Since it is self-contained, you may move the file and restore from any location.
 
+<div class="alert alert-warning">
+  <strong>Attention:</strong> It is discouraged to move or delete last savepoint of a running job, cause this might interfere with failure-recovery. Savepoints have side-effects on exactly-once sinks, therefore 
+  to ensure exactly-once semantics, if there is no checkpoint after the last savepoint, the savepoint will be used for recovery. 
+</div>
+
 #### Trigger a Savepoint
 
 {% highlight shell %}