Skip to content

Commit

Permalink
[FLINK-21839][docs] Document stop-with-savepoint behavior more explic…
Browse files Browse the repository at this point in the history
…itly

This closes apache#15594
  • Loading branch information
curcur authored and dawidwys committed Apr 14, 2021
1 parent e0e11f6 commit 81118c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/content.zh/docs/deployment/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ We have to use `--savepointPath` to specify the savepoint folder if
If the `--drain` flag is specified, then a `MAX_WATERMARK` will be emitted before the last checkpoint
barrier. This will make all registered event-time timers fire, thus flushing out any state that
is waiting for a specific watermark, e.g. windows. The job will keep running until all sources properly
shut down. This allows the job to finish processing all in-flight data.
shut down. This allows the job to finish processing all in-flight data, which can produce some
records to process after the savepoint taken while stopping.

{{< hint danger >}}
Use the `--drain` flag if you want to terminate the job permanently.
Expand Down
3 changes: 2 additions & 1 deletion docs/content/docs/deployment/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ We have to use `--savepointPath` to specify the savepoint folder if
If the `--drain` flag is specified, then a `MAX_WATERMARK` will be emitted before the last checkpoint
barrier. This will make all registered event-time timers fire, thus flushing out any state that
is waiting for a specific watermark, e.g. windows. The job will keep running until all sources properly
shut down. This allows the job to finish processing all in-flight data.
shut down. This allows the job to finish processing all in-flight data, which can produce some
records to process after the savepoint taken while stopping.

{{< hint danger >}}
Use the `--drain` flag if you want to terminate the job permanently.
Expand Down

0 comments on commit 81118c0

Please sign in to comment.