-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Remove failed stale producer from the connection #4741
Conversation
rerun java8 tests |
retest this please |
@rdhabalia The check for the same future on delete was there to prevent deleting the wrong future, eg. after a timeout from client that resend the create-producer command. The tests were actually simulating this condition. |
@merlimat I modified the test because test was wrong and having exact same issue which we are trying to fix: test-sequence was
Same thing was happening for producers and we are keep seeing this issue when broker unloads the bundle to different broker and same bundle again comes back to the old broker. the entire issue was described into #4138. So, we tried to fix in #4138 but tried to remove producer-future for current request which is definitely not in the cache and therefore, client keeps seeing error |
rerun integration tests |
@rdhabalia you might need to rebase to latest master to fix the integration tests issues. |
remove failed consumer from cnx fix test
retest this please |
remove failed consumer from cnx fix test
Change the Milestone to 2.4.2, because of conflict. |
remove failed consumer from cnx fix test (cherry picked from commit bbac857)
Motivation
As described in #4138, broker tries to clean up stale failed-producer from the connection however, while cleaning up producer-future, it tries to remove newly created producer-future rather old-failed producer because of that broker still gives below error