You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by sh...@apache.org on 2023/09/08 11:51:19 UTC
[kafka] branch trunk updated: MINOR: Log when remote fetch execution is rejected (#14350)
This is an automated email from the ASF dual-hosted git repository.
showuon pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 84c49c6a098 MINOR: Log when remote fetch execution is rejected (#14350)
84c49c6a098 is described below
commit 84c49c6a098986f7da9f08dc53e6a31c13484c5b
Author: Nikhil Ramakrishnan <ni...@amazon.com>
AuthorDate: Fri Sep 8 12:51:12 2023 +0100
MINOR: Log when remote fetch execution is rejected (#14350)
Log at warning level when remote fetch execution is rejected. This can be potentially useful to troubleshoot UNKNOWN_SERVER_ERROR responses for remote fetch requests.
Reviewers: Luke Chen <sh...@gmail.com>, Christo Lolov <lo...@amazon.com>
---
core/src/main/scala/kafka/server/ReplicaManager.scala | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/src/main/scala/kafka/server/ReplicaManager.scala b/core/src/main/scala/kafka/server/ReplicaManager.scala
index 948bd30d747..f92e3717361 100644
--- a/core/src/main/scala/kafka/server/ReplicaManager.scala
+++ b/core/src/main/scala/kafka/server/ReplicaManager.scala
@@ -1263,6 +1263,7 @@ class ReplicaManager(val config: KafkaConfig,
} catch {
case e: RejectedExecutionException =>
// Return the error if any in scheduling the remote fetch task
+ warn("Unable to fetch data from remote storage", e)
return Some(createLogReadResult(e))
}