mumrah commented on code in PR #19745:
URL: https://github.com/apache/kafka/pull/19745#discussion_r2160147403
##########
core/src/main/scala/kafka/server/BrokerLifecycleManager.scala:
##########
@@ -577,10 +563,9 @@ class BrokerLifecycleManager(
}
private def scheduleNextCommunicationAfterFailure(): Unit = {
- val delayMs = resendExponentialBackoff.backoff(failedAttempts)
- failedAttempts = failedAttempts + 1
nextSchedulingShouldBeImmediate = false // never immediately reschedule
after a failure
- scheduleNextCommunication(NANOSECONDS.convert(delayMs, MILLISECONDS))
Review Comment:
Are there other retriable errors that we could see here that should retry
sooner than the heartbeat?
--
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]