abhijeetk88 commented on code in PR #14113:
URL: https://github.com/apache/kafka/pull/14113#discussion_r1314155819
##########
core/src/main/java/kafka/log/remote/RemoteLogManager.java:
##########
@@ -776,6 +777,8 @@ public void run() {
if (!isCancelled()) {
logger.warn("Current thread for topic-partition-id {} is
interrupted. Reason: {}", topicIdPartition, ex.getMessage());
}
+ } catch (RetriableException ex) {
+ logger.debug("Encountered a retryable error while executing
current task for topic-partition {}", topicIdPartition, ex);
Review Comment:
It does. Sample logs
```
[2023-09-03 12:59:26,937] DEBUG [RemoteLogManager=0
partition=p6WDWrGtTZyCbzgZG_9XBg:Leader-0] Encountered a retryable error while
executing current task for topic-partition p6WDWrGtTZyCbzgZG_9XBg:Leader-0
(kafka.log.remote.RemoteLogManager$RLMTask:781)
org.apache.kafka.common.errors.ReplicaNotAvailableException: Remote log
metadata cache is not initialized for partition: p6WDWrGtTZyCbzgZG_9XBg:Leader-0
```
I kept the debug message in line with the warning message at L784.
--
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]