You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:04 UTC

[jira] [Updated] (FLINK-14707) Refactor checkpoint related methods within Environment

     [ https://issues.apache.org/jira/browse/FLINK-14707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yun Gao updated FLINK-14707:
----------------------------
    Fix Version/s: 1.16.0

> Refactor checkpoint related methods within Environment
> ------------------------------------------------------
>
>                 Key: FLINK-14707
>                 URL: https://issues.apache.org/jira/browse/FLINK-14707
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Checkpointing
>            Reporter: Yun Tang
>            Priority: Minor
>              Labels: auto-deprioritized-major
>             Fix For: 1.15.0, 1.16.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.20.1#820001)