You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2014/09/05 00:28:24 UTC

[jira] [Updated] (KAFKA-740) Improve crash-safety of log segment swap

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

Guozhang Wang updated KAFKA-740:
--------------------------------
    Fix Version/s:     (was: 0.8.2)
                   0.9.0

> Improve crash-safety of log segment swap
> ----------------------------------------
>
>                 Key: KAFKA-740
>                 URL: https://issues.apache.org/jira/browse/KAFKA-740
>             Project: Kafka
>          Issue Type: Bug
>          Components: log
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>             Fix For: 0.9.0
>
>
> Currently Log.replaceSegments has a bug that can cause a swap containing multiple segments to partially complete. This would lead to duplicate data in the log.
> The proposed fix is to use a name like offset1_and_offset2.swap for a segment meant to replace segments with base offsets offset1 and offset2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)