akalash commented on code in PR #21999:
URL: https://github.com/apache/flink/pull/21999#discussion_r1114678942
##########
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:
> We need to define or describe different states for different abstract
level as accurately as possible, right?
Yes, I think it is pretty much what I meant. We have a class/entity with a
pretty clear lifecycle let's use these rather than trying to adapt to something
else.
But of course, I'm happy to hear opinions from everybody.
--
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]