jeqo commented on code in PR #19197: URL: https://github.com/apache/kafka/pull/19197#discussion_r2005443165
########## core/src/main/scala/kafka/server/DelayedRemoteFetch.scala: ########## @@ -88,8 +90,9 @@ class DelayedRemoteFetch(remoteFetchTask: Future[Void], override def onExpiration(): Unit = { // cancel the remote storage read task, if it has not been executed yet - val cancelled = remoteFetchTask.cancel(true) - if (!cancelled) debug(s"Remote fetch task for RemoteStorageFetchInfo: $remoteFetchInfo could not be cancelled and its isDone value is ${remoteFetchTask.isDone}") + val cancelled = remoteFetchTask.cancel(false) Review Comment: Sure! Adding it on the last commit. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org