40436michael opened a new pull request, #24328: URL: https://github.com/apache/kafka/pull/24328
`QuorumController#processBrokerHeartbeat` threw `NotControllerException` on a standby controller, so `ControllerApis` logged "Unexpected error handling request" for every heartbeat after the active controller changed. Return a failed future instead. The broker still gets `NOT_CONTROLLER`, but the misleading log is gone. Co-Authored-By: Claude Opus 5.5 <[email protected]> -- 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]
