You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/19 19:17:00 UTC

[jira] [Commented] (KAFKA-5752) Delete topic and re-create topic immediate will delete the new topic's timeindex

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

ASF GitHub Bot commented on KAFKA-5752:
---------------------------------------

GitHub user omkreddy opened a pull request:

    https://github.com/apache/kafka/pull/3700

    KAFKA-5752: Update timeIndex, txnIndex file pointers to renamed (to be deleted) files

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/omkreddy/kafka KAFKA-5752

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3700.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3700
    
----
commit 0edf404b67237fc5e3b43bea1c95ab83165498a9
Author: Manikumar Reddy <ma...@gmail.com>
Date:   2017-08-19T19:12:40Z

    KAFKA-5752: Update timeIndex, txnIndex file pointers to renamed files

----


> Delete topic and re-create topic immediate will delete the new topic's timeindex 
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-5752
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5752
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.2.0, 0.11.0.0
>            Reporter: Pengwei
>            Priority: Critical
>              Labels: reliability
>             Fix For: 0.11.0.1, 1.0.0
>
>
> When we delete the topic and re-create the topic with the same name, we will find after the 
> async delete topic is finished,  async delete will remove the newly created topic's time index.
> This is because in the LogManager's asyncDelete, it will change the log and index's file pointer to the renamed log and index, but missing the time index. So will cause this issue



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)