dajac opened a new pull request, #24151: URL: https://github.com/apache/kafka/pull/24151
`CoordinatorRuntime.CoordinatorContext.transitionTo` records the partition state change after the state transition work, so an exception thrown by `onLoaded` skips it. The loading, active and failed partition gauges then drift, for instance reading -1 active and 1 loading for a partition that failed to load. This patch records each partition state change right after the state is assigned, and adds a test for a failing `onLoaded`. -- 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]
