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

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

GitHub user lindong28 opened a pull request:

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

    KAFKA-6093; log.close() should not prevent log from being accessed

    

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

    $ git pull https://github.com/lindong28/kafka KAFKA-6093

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

    https://github.com/apache/kafka/pull/4100.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 #4100
    
----
commit 3cba61a5c52e06c9841064c68dcbe1fd459dea5b
Author: Dong Lin <[email protected]>
Date:   2017-10-20T02:39:06Z

    KAFKA-6093; log.close() should not prevent log from being accessed

----


> replica dir not deleted after topic deletion
> --------------------------------------------
>
>                 Key: KAFKA-6093
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6093
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.0
>            Reporter: Jun Rao
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> Did the following test.
> 1. bin/kafka-topics.sh  --zookeeper localhost:2181 --topic test --partitions 
> 1 --replication-factor 1 --create
> 2. bin/kafka-topics.sh  --zookeeper localhost:2181 --topic test --delete
> Saw the following in the broker log.
> {code:java}
> [2017-10-19 17:54:43,413] INFO Log for partition test-0 is renamed to 
> /tmp/kafka-logs/test-0.0b578c684ec540b48bf63ecec1752f02-delete and is 
> scheduled for deletion (kafka.log.LogManager)
> [2017-10-19 17:55:27,034] ERROR Exception while deleting 
> Log(/tmp/kafka-logs/test-0.0b578c684ec540b48bf63ecec1752f02-delete) in dir 
> /tmp/kafka-logs. (kafka.log.LogManager)
> org.apache.kafka.common.errors.KafkaStorageException: The log for partition 
> test-0 is offline
> {code}



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

Reply via email to