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 2014/01/02 17:33:56 UTC

[jira] [Commented] (KAFKA-1074) Reassign partitions should delete the old replicas from disk

    [ https://issues.apache.org/jira/browse/KAFKA-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860314#comment-13860314 ] 

Jun Rao commented on KAFKA-1074:
--------------------------------

Summary of changes since the previous patch.
LogCleaner:
* moved all variables and locks associated with state management into a separate class LogCleanerStates.
* removed the semaphore for unit test and used a simpler approach to just keep retrying every 10ms. Will file a separate jira for improving the unit test.
Log:
* limited the scope of a few methods to log.
LogManager:
* forced checkpointing recovery points in truncateFullyAndStartAt() as well.

> Reassign partitions should delete the old replicas from disk
> ------------------------------------------------------------
>
>                 Key: KAFKA-1074
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1074
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.0
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>             Fix For: 0.8.1
>
>         Attachments: KAFKA-1074.patch, KAFKA-1074_2013-12-04_10:14:13.patch, KAFKA-1074_2013-12-16_09:43:53.patch, KAFKA-1074_2014-01-02_08:36:37.patch
>
>
> Currently, after reassigning replicas to other brokers, the old replicas are not removed from disk and have to be deleted manually.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)