You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yun Tang (Jira)" <ji...@apache.org> on 2019/11/11 14:08:00 UTC
[jira] [Created] (FLINK-14707) Refactor checkpoint related methods
within Environment
Yun Tang created FLINK-14707:
--------------------------------
Summary: Refactor checkpoint related methods within Environment
Key: FLINK-14707
URL: https://issues.apache.org/jira/browse/FLINK-14707
Project: Flink
Issue Type: Improvement
Reporter: Yun Tang
Fix For: 1.10.0
After FLINK-7720 fixed, the two methods of {{Environment#acknowledgeCheckpoint}} have been actually useless, and their usage have been overridden by {{TaskStateManager#reportTaskStateSnapshots}}.
More generally, we would consider {{Environment}} interface as getter to access components instead of doing real actions. I prefer to remove {{acknowledgeCheckpoint}} and {{declineCheckpoint}} methods or at least deprecated them.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)