azagrebin commented on a change in pull request #8181: [FLINK-12199][network]
Refactor IOMetrics to not distinguish between local/remote in/out bytes
URL: https://github.com/apache/flink/pull/8181#discussion_r279323980
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGate.java
##########
@@ -561,6 +567,7 @@ public void requestPartitions() throws IOException,
InterruptedException {
}
final Buffer buffer = result.get().buffer();
+ numBytesIn.inc(buffer.getSizeUnsafe());
Review comment:
Later we plan to move the total counter completely out of network
environment to count it always in gate wrapper to make it non-shuffle specific:
https://issues.apache.org/jira/browse/FLINK-12201
----------------------------------------------------------------
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]
With regards,
Apache Git Services