rkhachatryan commented on a change in pull request #13286:
URL: https://github.com/apache/flink/pull/13286#discussion_r481809234



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SubtaskCheckpointCoordinatorImpl.java
##########
@@ -366,11 +366,10 @@ private void registerAsyncCheckpointRunnable(long 
checkpointId, AsyncCheckpointR
                synchronized (lock) {
                        if (closed) {
                                LOG.debug("Cannot register Closeable, this 
subtaskCheckpointCoordinator is already closed. Closing argument.");
-                               final boolean running = 
asyncCheckpointRunnable.isRunning();
                                closeQuietly(asyncCheckpointRunnable);
                                checkState(
-                                       !running,

Review comment:
       Then let's leave it as-is for now. 




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to