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



##########
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:
       I am a bit torn whether it deserves somehow UT or ITCase for the changes.
   It seems not bad to be covered by existing E2E tests, so I am fine with you 
final judgement here.




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