StefanRRichter commented on a change in pull request #9021: [hostfix][runtime] 
Make checkpoints injection ordered with stop-with-savepoint
URL: https://github.com/apache/flink/pull/9021#discussion_r302103430
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SynchronousSavepointLatch.java
 ##########
 @@ -59,61 +66,53 @@ void setCheckpointId(final long checkpointId) {
                }
        }
 
-       boolean blockUntilCheckpointIsAcknowledged() throws Exception {
+       void blockUntilCheckpointIsAcknowledged() throws Exception {
 
 Review comment:
   I would suggest to change the exception types for some methods like this 
more precisely to `InterruptedException` because it might be easier to see for 
caller that there might be a special reaction to perform (e.g. restoring the 
interrupted status).

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


With regards,
Apache Git Services

Reply via email to