mridulm commented on a change in pull request #33446: URL: https://github.com/apache/spark/pull/33446#discussion_r780737343
########## File path: core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala ########## @@ -281,6 +292,13 @@ final class ShuffleBlockFetcherIterator( } } + @inline def logFetchOnCompletionIfSlow(): Unit = { + if (remainingBlocks.isEmpty) { + logFetchIfSlow(TimeUnit.NANOSECONDS.toMillis(clock.nanoTime() - requestStartTime), + infoMap.values.map(_._1).sum, blockIds.size, address) Review comment: Use `req.size` instead. (See more below) -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org