Skip to content
代码片段 群组 项目
未验证 提交 08e50945 编辑于 作者: Luke Chen's avatar Luke Chen 提交者: GitHub
浏览文件

KAFKA-14010: AlterPartition request won't retry when receiving retriable error (#12329)

When submitting the AlterIsr request, we register a future listener to handle the response. 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, but it happened "after" we retry the request	

Reviewers: David Jacot <djacot@confluent.io>, dengziming <dengziming1993@gmail.com>
上级 6ac7f4ea
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册