[ https://issues.apache.org/jira/browse/KAFKA-8333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847071#comment-16847071 ]
ASF GitHub Bot commented on KAFKA-8333: --------------------------------------- hachikuji commented on pull request #6800: KAFKA-8333; Load high watermark checkpoint lazily when initializing replicas URL: https://github.com/apache/kafka/pull/6800 Currently we load the high watermark checkpoint separately for every replica that we load. This patch makes this loading logic lazy and caches the loaded map while a LeaderAndIsr request is being handled. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Load high watermark checkpoint only once when handling LeaderAndIsr requests > ---------------------------------------------------------------------------- > > Key: KAFKA-8333 > URL: https://issues.apache.org/jira/browse/KAFKA-8333 > Project: Kafka > Issue Type: Bug > Reporter: Jason Gustafson > Assignee: Jason Gustafson > Priority: Major > > Currently we reload the checkpoint file separately for every partition that > is first initialized on the broker. It would be more efficient to do this one > time only when we receive the LeaderAndIsr request and to reuse the state. -- This message was sent by Atlassian JIRA (v7.6.3#76005)