You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2020/04/30 03:11:00 UTC
[jira] [Resolved] (KAFKA-9932) First LeaderAndIsrRequest can take
long due to unnecessary ZK read
[ https://issues.apache.org/jira/browse/KAFKA-9932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma resolved KAFKA-9932.
--------------------------------
Resolution: Fixed
> First LeaderAndIsrRequest can take long due to unnecessary ZK read
> ------------------------------------------------------------------
>
> Key: KAFKA-9932
> URL: https://issues.apache.org/jira/browse/KAFKA-9932
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ismael Juma
> Assignee: Ismael Juma
> Priority: Major
> Fix For: 2.6.0
>
>
> [~junrao] found the following issue:
> {quote}In Partition, we have the following code. fetchLogConfig is passed in to logManager.getOrCreateLog by value. This can increase the processing time for the very first LeaderAndIsrRequest since every partition has to do a ZK read to load the log config. This is unnecessary if the log is always present and loaded during the initialization of LogManager.
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)