akalash commented on code in PR #21923:
URL: https://github.com/apache/flink/pull/21923#discussion_r1110137878


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java:
##########
@@ -215,6 +215,9 @@
      */
     private final StreamTaskActionExecutor actionExecutor;
 
+    /** Current state of the task, can be any of {@link TaskState}. */
+    private TaskState taskState;

Review Comment:
   Shouldn't it be volatile?



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to