-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Hang if incremental assign is received while consumer is closing #4527
Labels
Comments
5 tasks
@emasab I think this works:
With this I was not able to hang it. |
@emasab could this issue be closed or should it remain open? |
@nhaq-confluent what @mensfeld proposed is a workaround, but we have to review and merge this PR I created |
emasab
added a commit
that referenced
this issue
Apr 18, 2024
While using the cooperative assignor, given an assignment is received while closing the consumer it's possible that it gets stuck in state WAIT_ASSIGN_CALL, while the method is converted to a full unassign. Solved by changing state from WAIT_ASSIGN_CALL to WAIT_UNASSIGN_CALL while doing this conversion. Closes #4527
anchitj
pushed a commit
that referenced
this issue
Jun 10, 2024
While using the cooperative assignor, given an assignment is received while closing the consumer it's possible that it gets stuck in state WAIT_ASSIGN_CALL, while the method is converted to a full unassign. Solved by changing state from WAIT_ASSIGN_CALL to WAIT_UNASSIGN_CALL while doing this conversion. Closes #4527
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Consumer in cooperative incremental mode will hang if an assignment callback is being processed while it's closing.
How to reproduce
Added a variation 3 to test 0113 to reproduce the bug. The test times out.
Checklist
Please provide the following information:
master
any
any
any
The text was updated successfully, but these errors were encountered: