gaoyunhaii commented on a change in pull request #14861:
URL: https://github.com/apache/flink/pull/14861#discussion_r667926876



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamTaskStateInitializer.java
##########
@@ -34,6 +34,9 @@
  */
 public interface StreamTaskStateInitializer {
 
+    /** Whether all the operators of the task is finished on restore. */
+    boolean isFinishedOnRestore();

Review comment:
       Yes, this should be sufficient, I changed it to directly acquire the 
state from `TaskStateManager`. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to