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

HongLiang edited comment on KAFKA-6482 at 1/25/18 9:47 AM:
-----------------------------------------------------------

[~huxi_2b] data retention is 48 hours, but logs.dir exist  5 days's datas. 
because produce send 's timestamp is 'future time', the timestamp is invalidity.

why not use segment's lastModified?


was (Author: hongliang):
[~huxi_2b] data retention is 48 hours, but logs.dir exist  5 days's datas. 
because produce send 's timestamp is 'feature time', the timestamp is 
invalidity.

why not use segment's lastModified?

> when produce send a invalidity timestamps, broker will be not delete 
> retention files
> ------------------------------------------------------------------------------------
>
>                 Key: KAFKA-6482
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6482
>             Project: Kafka
>          Issue Type: Bug
>          Components: log
>    Affects Versions: 1.0.0
>            Reporter: HongLiang
>            Priority: Major
>         Attachments: delete_retention_bug.diff
>
>
> when produce send a invalidity timestamps, broker will be not delete 
> retention files.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to