You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yunfeng Zhou (Jira)" <ji...@apache.org> on 2022/11/14 03:42:00 UTC

[jira] [Created] (FLINK-30009) OperatorCoordinator.start()'s JavaDoc mismatches its behavior

Yunfeng Zhou created FLINK-30009:
------------------------------------

             Summary: OperatorCoordinator.start()'s JavaDoc mismatches its behavior
                 Key: FLINK-30009
                 URL: https://issues.apache.org/jira/browse/FLINK-30009
             Project: Flink
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.16.0
            Reporter: Yunfeng Zhou


The following description lies in the JavaDoc of {{OperatorCoordinator.start()}}.

{{This method is called once at the beginning, before any other methods.}}

This description is incorrect because the method {{resetToCheckpoint()}} can happen before {{start()}} is invoked. For example, {{RecreateOnResetOperatorCoordinator.DeferrableCoordinator.resetAndStart()}} uses these methods in this way. Thus the JavaDoc of {{OperatorCoordinator}}'s methods should be modified to match this behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)