[ 
https://issues.apache.org/jira/browse/KAFKA-12543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jose Armando Garcia Sancio resolved KAFKA-12543.
------------------------------------------------
    Resolution: Fixed

> Re-design the ownership model for snapshots
> -------------------------------------------
>
>                 Key: KAFKA-12543
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12543
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jose Armando Garcia Sancio
>            Assignee: Jose Armando Garcia Sancio
>            Priority: Major
>
> With the current implementation, {{RawSnapshotReader}} are created and closed 
> by the {{KafkaRaftClient}} as needed to satisfy {{FetchSnapshot}} requests. 
> This means that for {{FileRawSnapshotReader}} they are closed before the 
> network client has had a chance to send the bytes over the network.
> One way to fix this is to make the {{KafkaMetadataLog}} the owner of the 
> {{FileRawSnapshotReader}}. Once a {{FileRawSnapshotReader}} is created it 
> will stay open until the snapshot is deleted by 
> {{ReplicatedLog::deleteBeforeSnapshot}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to