X-czh commented on code in PR #27446:
URL: https://github.com/apache/flink/pull/27446#discussion_r2735895474
##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPool.java:
##########
@@ -824,4 +824,9 @@ public static AvailabilityStatus from(
}
}
}
+
+ @Override
+ public int getBuffersCountUnsafe(int targetChannel) {
+ return subpartitionBuffersCount[targetChannel];
Review Comment:
subpartitionBuffersCount tracks how many buffers requested by the
subpartition but some these buffers maybe idle. We should use
subpartition.getBuffersInBacklogUnsafe() to get the used buffer count in queue
--
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]