-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
No
-
---
-
---
-
MK - Sprint 221
WHAT
When submitting the AlterIsr request, we register a future listener to handle the response here. When receiving retriable error, we expected the AlterIsr request will get retried. And then, we'll re-submit the request again.
However, before the future listener got called, we didn't clear the `unsentIsrUpdates`, which causes we failed to "enqueue" the request because we thought there's an in-flight request. We use "try/finally" to make sure the unsentIsrUpdates got cleared (here), but it happened "after" we retry the request
Although the AlterIsr request will get sent next time when the follower sent next fetch request to the leader, we still need to fix this issue to make sure the AlterIsr request is sent successfully as we expected.
WHY
Isr might not get updated successfully
HOW
<Suggestions for how this may be solved.> [Optional]
DONE
KAFKA-14010 is merged into upstream trunk and 3.2 branches
- relates to
-
MGDSTRM-8857 alterIsr request will not be retried after error returned in Kafka v3.0.1
- Closed
- links to