jeqo commented on code in PR #19197: URL: https://github.com/apache/kafka/pull/19197#discussion_r2002944925
########## core/src/main/scala/kafka/server/ReplicaManager.scala: ########## @@ -1558,7 +1559,7 @@ class ReplicaManager(val config: KafkaConfig, } val remoteFetchMaxWaitMs = config.remoteLogManagerConfig.remoteFetchMaxWaitMs().toLong - val remoteFetch = new DelayedRemoteFetch(remoteFetchTask, remoteFetchResult, remoteFetchInfo, remoteFetchMaxWaitMs, + val remoteFetch = new DelayedRemoteFetch(remoteFetchFuture, remoteFetchInfo, remoteFetchMaxWaitMs, Review Comment: Right. In that case the main change would be cancelling the future without interrupting it. -- 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