lucasbru opened a new pull request, #24309: URL: https://github.com/apache/kafka/pull/24309
When the coordinator derives the intermediate assignment again for an assignment epoch the group already had when the coordinator loaded it, the warm-up refiner keeps every active task with the member that holds it and stages the move to the target owner. That path staged the move with a warm-up task on the target owner's process even when the target owner heartbeats with version 0. Such a member never reports its task offsets, so the warm-up task could never be seen to catch up and would hold a warm-up slot until the next epoch. Warm-up tasks are only funded once every member has been heard from, so this needs the epoch to be derived again after that, for example after streams.num.warmup.replicas changed from 0 within the epoch. The move to a version 0 target owner is now staged without a warm-up task, like a move within a process, so it waits for the next epoch and is then granted at once. The change also removes a stray blank line in GroupMetadataManagerTest and puts the two heartbeat helpers of the same fixture next to each other. -- 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]
