huwh commented on code in PR #22674:
URL: https://github.com/apache/flink/pull/22674#discussion_r1231819871
##########
flink-runtime/src/main/java/org/apache/flink/runtime/deployment/CachedShuffleDescriptors.java:
##########
@@ -104,4 +119,30 @@ public void
markPartitionFinished(IntermediateResultPartition resultPartition) {
checkNotNull(
resultPartitionIdToIndex.get(resultPartition.getPartitionId()))));
}
+
+ private boolean shouldOffload(ShuffleDescriptorAndIndex[]
shuffleDescriptorsToSerialize) {
+ return shuffleDescriptorsToSerialize.length * numConsumers
Review Comment:
In some scenarios, there may only be a few new shuffleDescriptors to
serialize, so it is more efficient to use Akka to transfer them directly.
--
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]