You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2017/05/15 22:24:04 UTC

[jira] [Resolved] (KAFKA-5249) Transaction index recovery does not snapshot properly

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

Jun Rao resolved KAFKA-5249.
----------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0.0

Issue resolved by pull request 3060
[https://github.com/apache/kafka/pull/3060]

> Transaction index recovery does not snapshot properly
> -----------------------------------------------------
>
>                 Key: KAFKA-5249
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5249
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>              Labels: exactly-once
>             Fix For: 0.11.0.0
>
>
> When recovering the transaction index, we should take snapshots of the producer state after recovering each segment. Currently, the snapshot offset is not updated correctly so we will reread the segment multiple times. Additionally, it appears that we do not remove snapshots with offsets higher than the log end offset in all cases upon truncation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)