You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2013/01/29 04:17:13 UTC

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

Jay Kreps created KAFKA-740:
-------------------------------

             Summary: Improve crash-safety of log segment swap
                 Key: KAFKA-740
                 URL: https://issues.apache.org/jira/browse/KAFKA-740
             Project: Kafka
          Issue Type: Bug
            Reporter: Jay Kreps
            Assignee: Jay Kreps
             Fix For: 0.8.1


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira