You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/01 10:09:11 UTC

[GitHub] [flink] autophagy commented on a change in pull request #19317: [FLINK-26772][runtime] Add flag to prevent job submission in Dispatcher if shutting down

autophagy commented on a change in pull request #19317:
URL: https://github.com/apache/flink/pull/19317#discussion_r840434314



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java
##########
@@ -167,6 +168,8 @@
     private final ResourceCleaner localResourceCleaner;
     private final ResourceCleaner globalResourceCleaner;
 
+    private final AtomicBoolean shutDown = new AtomicBoolean(false);

Review comment:
       Aha, right. I saw uses of `volatile boolean` and `AtomicBoolean` throughout, thanks for clarifying the usage.




-- 
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-unsubscribe@flink.apache.org

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