lucasbru opened a new pull request, #14555:
URL: https://github.com/apache/kafka/pull/14555

   When we get a suspended task re-assigned in the eager rebalance protocol, we 
have to add the task back to the state updater so that it has a chance to catch 
up with its change log.
   
   This was prevented by a check in `Tasks`, which disallows removing SUSPENDED 
tasks from the task registry. I couldn't find a reason why this must be an 
invariant of the task registry, so this weakens the check.
   
   The error happens in the integration between TaskRegistry and TaskManager. 
However, this change anyway adds unit tests to more closely specify the 
intended behavior of the two modules.
   
   ### 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]

Reply via email to