gaoyunhaii commented on a change in pull request #16774:
URL: https://github.com/apache/flink/pull/16774#discussion_r688465837
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorChain.java
##########
@@ -161,7 +164,11 @@ public OperatorChain(
Map<StreamEdge, RecordWriterOutput<?>> streamOutputMap =
new HashMap<>(outEdgesInOrder.size());
this.streamOutputs = new RecordWriterOutput<?>[outEdgesInOrder.size()];
- this.finishedOnRestore = finishedOnRestore;
+ this.finishedOnRestoreInput =
+ this.isFinishedOnRestore()
Review comment:
Very thanks for the explanation! if we used it in the constructor we
indeed could not postpone the initialization into the subclass. I also agree
with that we could leave it for a future improvement~
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]