[
https://issues.apache.org/jira/browse/KAFKA-21437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ziyun Fu reassigned KAFKA-21437:
--------------------------------
Assignee: Ziyun Fu (was: Chia-Ping Tsai)
> CoordinatorContext#unload should cancel the running load to release the
> thread slot
> -----------------------------------------------------------------------------------
>
> Key: KAFKA-21437
> URL: https://issues.apache.org/jira/browse/KAFKA-21437
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Ziyun Fu
> Priority: Minor
>
> If the leadership is lost and regained while loading, the previous load keeps
> running until it reaches the log end offset, even though its
> CoordinatorContext was already unloaded. The loader has a single thread, so
> the load of the new context has to wait behind it. We could add a small flag
> to stop the fetch early when the context is unloaded.
> See KAFKA-21436 for the related issue.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)