showuon commented on a change in pull request #11451:
URL: https://github.com/apache/kafka/pull/11451#discussion_r748252411



##########
File path: core/src/main/scala/kafka/server/DelayedOperation.scala
##########
@@ -262,7 +262,9 @@ final class DelayedOperationPurgatory[T <: 
DelayedOperation](purgatoryName: Stri
       0
     else
       watchers.tryCompleteWatched()
-    debug(s"Request key $key unblocked $numCompleted $purgatoryName 
operations")
+    if (numCompleted > 0) {
+      debug(s"Request key $key unblocked $numCompleted $purgatoryName 
operations")

Review comment:
       Before this change, we'll see many useless logs like this:
   ` DEBUG Request key GroupJoinKey(test.group) unblocked 0 Rebalance 
operations`
   We should log when `numCompleted > 0`.




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


Reply via email to