[
https://issues.apache.org/jira/browse/KAFKA-9932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismael Juma updated KAFKA-9932:
-------------------------------
Fix Version/s: 2.6.0
> 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)