AHeise commented on a change in pull request #10435: [FLINK-13955][runtime]
migrate ContinuousFileReaderOperator to the mailbox execution model
URL: https://github.com/apache/flink/pull/10435#discussion_r370033152
##########
File path:
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/ContinuousFileProcessingRescalingTest.java
##########
@@ -254,37 +166,24 @@ private TimestampedFileInputSplit
getTimestampedSplit(long modTime, FileInputSpl
split.getHostnames());
}
- private static class BlockingFileInputFormat
- extends FileInputFormat<String>
- implements CheckpointableInputFormat<FileInputSplit, Integer> {
-
- private final OneShotLatch triggerLatch;
- private final OneShotLatch waitingLatch;
-
+ private static class BlockingFileInputFormat extends
FileInputFormat<String> implements CheckpointableInputFormat<FileInputSplit,
Integer> {
+ private final OneShotLatch firstChunkTrigger = new
OneShotLatch();
Review comment:
👍 moving latches inside format.
----------------------------------------------------------------
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