Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1153#discussion_r41025127
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
 ---
    @@ -178,9 +195,9 @@ public void run() {
         * After this method has been called, the coordinator does not accept 
and further
         * messages and cannot trigger any further checkpoints.
         */
    -   public void shutdown() {
    +   public void shutdown() throws Exception {
                synchronized (lock) {
    -                   try {   
    +                   try {
                                if (shutdown) {
                                        return;
                                }
    --- End diff --
    
    Maybe we can replace this return with simply `if (!shutdown) { the shutdown 
logic }`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to