You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "cadonna (via GitHub)" <gi...@apache.org> on 2024/09/06 11:23:19 UTC

[PR] KAFKA-17489: Do not handle failed tasks as tasks to assign [kafka]

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

   Failed tasks discovered when removed from the state updater during assignment or revocation are added to the task registry. From there they are retrieved and handled as normal tasks. This leads to a couple of IllegalStateExceptions because it breaks some invariants that ensure that only good tasks are assigned and processed.
   
   This commit solves this bug by distinguish failed from non-failed tasks in the task registry.
   
   ### 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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17489: Do not handle failed tasks as tasks to assign [kafka]

Posted by "cadonna (via GitHub)" <gi...@apache.org>.
cadonna commented on PR #17115:
URL: https://github.com/apache/kafka/pull/17115#issuecomment-2348583574

   cherry-picked to 3.9
   \cc @cmccabe 


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17489: Do not handle failed tasks as tasks to assign [kafka]

Posted by "jlprat (via GitHub)" <gi...@apache.org>.
jlprat commented on PR #17115:
URL: https://github.com/apache/kafka/pull/17115#issuecomment-2337256951

   According to the Jira ticket, this is reproducible in `3.8`. Shall it be ported there as well?


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17489: Do not handle failed tasks as tasks to assign [kafka]

Posted by "cadonna (via GitHub)" <gi...@apache.org>.
cadonna merged PR #17115:
URL: https://github.com/apache/kafka/pull/17115


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17489: Do not handle failed tasks as tasks to assign [kafka]

Posted by "cadonna (via GitHub)" <gi...@apache.org>.
cadonna commented on PR #17115:
URL: https://github.com/apache/kafka/pull/17115#issuecomment-2349159759

   cherry-picked to 3.8


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org