hachikuji commented on a change in pull request #9732:
URL: https://github.com/apache/kafka/pull/9732#discussion_r543588101



##########
File path: 
core/src/main/scala/kafka/server/BrokerToControllerChannelManager.scala
##########
@@ -221,7 +216,7 @@ class BrokerToControllerRequestThread(networkClient: 
KafkaClient,
       } else {
         // need to backoff to avoid tight loops
         debug("No controller defined in metadata cache, retrying after 
backoff")
-        backoff()

Review comment:
       While addressing this issue, I realized the current timeout logic does 
not handle the case when the controller is not known. This will cause the 
requests to keep piling up until we find the controller.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to