RocMarshal commented on code in PR #21999:
URL: https://github.com/apache/flink/pull/21999#discussion_r1114510855


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java:
##########
@@ -261,6 +261,12 @@
      */
     private volatile boolean isRunning;
 
+    /**
+     * Flag to mark the task "in operation", in which case check needs to be 
process the exceptions
+     * thrown in the initializing duration.
+     */
+    private volatile boolean isInitializing;

Review Comment:
   > Ah, I guess he just want to follow the `ExecutionState`'s initializing 
state, the corresponding java doc indicates that:
   
   @akalash @reswqa yes. I described the section at the jira ticket. Execution 
has the state `INITIALIZING`, and the `StreamTask` does not. So I used 
`isInitializing`. of course, `isRestoring` is suitable for the scenario, too. 
CC @1996fanrui 



-- 
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