satishd commented on code in PR #14113:
URL: https://github.com/apache/kafka/pull/14113#discussion_r1312784758


##########
core/src/main/java/kafka/log/remote/RemoteLogManager.java:
##########
@@ -776,6 +777,9 @@ 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 {}. " +
+                    "Reason: {}", topicIdPartition, ex.getMessage());

Review Comment:
   Let us print the complete exception, which prints stack trace too. That will 
be helpful while debugging. 



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