You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "turboFei (via GitHub)" <gi...@apache.org> on 2025/07/20 19:05:09 UTC
Re: [PR] [CELEBORN-2075] Fix `OpenStreamTime` metrics for `PbOpenStreamList` request [celeborn]
turboFei commented on code in PR #3376:
URL: https://github.com/apache/celeborn/pull/3376#discussion_r2217921364
##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/FetchHandler.scala:
##########
@@ -580,19 +588,22 @@ class FetchHandler(
streamChunkSlice.chunkIndex,
streamChunkSlice.offset,
streamChunkSlice.len)
+ val bufSize = buf.size()
chunkStreamManager.chunkBeingSent(streamChunkSlice.streamId)
client.getChannel.writeAndFlush(new ChunkFetchSuccess(streamChunkSlice, buf))
.addListener(new GenericFutureListener[Future[_ >: Void]] {
override def operationComplete(future: Future[_ >: Void]): Unit = {
if (future.isSuccess) {
if (log.isDebugEnabled) {
logDebug(
- s"Sending ChunkFetchSuccess to $remoteAddr succeeded, chunk $streamChunkSlice")
+ s"Sending ChunkFetchSuccess to $remoteAddr succeeded," +
+ s" chunk $streamChunkSlice, buf size: $bufSize")
Review Comment:
minor change for real chunk size, for `streamChunkSlice`, its length is always Int.MaxValue
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org