lucasbru opened a new pull request, #14437: URL: https://github.com/apache/kafka/pull/14437
State updater can get into a busy loop when all tasks are paused, because `changelogReader` will never return that all changelogs have been read completely. Fix this, by awaiting if `updatingTasks` is empty. Related and included: if we are restoring and all tasks are paused, we should return immediately from `StoreChangelogReader`. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
