You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dhruvil Shah (JIRA)" <ji...@apache.org> on 2018/06/20 00:25:00 UTC

[jira] [Created] (KAFKA-7076) Broker startup could be inefficient when using old message format

Dhruvil Shah created KAFKA-7076:
-----------------------------------

             Summary: Broker startup could be inefficient when using old message format
                 Key: KAFKA-7076
                 URL: https://issues.apache.org/jira/browse/KAFKA-7076
             Project: Kafka
          Issue Type: Bug
            Reporter: Dhruvil Shah
            Assignee: Dhruvil Shah


During broker startup, we call `Log#recoverSegment` when we find corrupted indexes, for segments beyond the last check-pointed recovery point, and for any ".swap" segments created by log cleaner. One of the things `Log#recoverSegments` does is to build up the producer state, starting from any previous snapshot file that is available. For logs using message formats older than V2, we could skip building up this producer state which would essentially speed up recovery.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)