pnowojski commented on a change in pull request #11687:
URL: https://github.com/apache/flink/pull/11687#discussion_r419484431



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/api/reader/AbstractRecordReader.java
##########
@@ -63,6 +63,8 @@ protected AbstractRecordReader(InputGate inputGate, String[] 
tmpDirectories) {
        }
 
        protected boolean getNextRecord(T target) throws IOException, 
InterruptedException {
+               inputGate.requestPartitions();

Review comment:
       Can not we keep the previous setup logic if unaligned checkpoints are 
disabled/not configured (that would include batch?)? And add a `checkState` 
somewhere, that unaligned checkpoints can not be used without `StreamTask`/in 
streaming or something like that?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to