dawidwys commented on a change in pull request #15613:
URL: https://github.com/apache/flink/pull/15613#discussion_r613838336
##########
File path:
flink-tests/src/test/java/org/apache/flink/test/checkpointing/RescalingITCase.java
##########
@@ -852,6 +862,7 @@ public void invoke(IN value) throws Exception {
private static final long serialVersionUID = 7512206069681177940L;
private static volatile CountDownLatch workStartedLatch = new
CountDownLatch(1);
+ private static volatile CountDownLatch canFinishLatch = new
CountDownLatch(0);
Review comment:
Good question... I think the answer is it is not necessary here. I had
not thought about it, but just copied over the other latch :sweat_smile:
I will remove the volatile from both of the latches.
--
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]