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)