SteNicholas commented on code in PR #3731:
URL: https://github.com/apache/celeborn/pull/3731#discussion_r3489942581


##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/FetchHandler.scala:
##########
@@ -557,6 +557,14 @@ class FetchHandler(
       s" to fetch block $streamChunkSlice")
 
     val streamState = 
chunkStreamManager.getStreamState(streamChunkSlice.streamId)
+    if (streamState == null) {
+      val message = s"Stream ${streamChunkSlice.streamId} is not registered 
with worker. " +
+        "This can happen if the worker was restarted recently."
+      logError(message)
+      
workerSource.incCounter(WorkerSource.FETCH_CHUNK_UNREGISTERED_STREAM_FAIL_COUNT)

Review Comment:
   No need to remove `workerSource.incCounter(storageMetrics._3)`.



-- 
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]

Reply via email to