AHeise commented on a change in pull request #13735:
URL: https://github.com/apache/flink/pull/13735#discussion_r517335535



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java
##########
@@ -67,29 +83,33 @@
        private final long restoreCheckpointId;
        private final boolean allowNonRestoredState;
 
+       private final Map<IntermediateResult, TaskStateAssignment> 
consumerAssignment = new HashMap<>();
+       private final Map<ChannelStateRescaler, 
ChannelRescalerRepartitioner<Object>> rescalerRepartitioners =

Review comment:
       `rescalerRepartitioners` would save much more as 
`ChannelRescalerRepartitioner` internally caches as well.
   But I can take it out for now and we first measure before optimizing.




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


Reply via email to