Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-17524: StreamThreadTest shouldReturnErrorIfProducerInstanceIdNotInitialized hanging #17213

Closed
wants to merge 1 commit into from

Conversation

FrankYang0529
Copy link
Member

The TaskManager#shutdownSchedulingTaskManager uses Long.MAX_VALUE to wait for task executor shutdown. The DefaultTaskExecutor#runOnce ignores interrupt if there is no processable task. However, during this time, TaskExecutorThread#shutdownrequested may not be updated. If DefaultTaskExecutor gets into TaskManager#awaitProcessableTasks again, it may hang for long time.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@chia7712
Copy link
Contributor

close as duplicate to #17191

@chia7712 chia7712 closed this Sep 17, 2024
@FrankYang0529 FrankYang0529 deleted the KAFKA-17524 branch September 17, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants