[
https://issues.apache.org/jira/browse/FLINK-14707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971567#comment-16971567
]
Yun Tang commented on FLINK-14707:
----------------------------------
[~sewen], what do you think of this?
> 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
> Priority: Major
> 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)