You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Xing Huang (JIRA)" <ji...@apache.org> on 2015/12/31 07:03:49 UTC

[jira] [Updated] (KAFKA-3053) wrong output in log at Log#recoverLog()

     [ https://issues.apache.org/jira/browse/KAFKA-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xing Huang updated KAFKA-3053:
------------------------------
    Description: 
In Log#recoverLog()  
  
    // we had an invalid message, delete all remaining log
        warn("Corruption found in segment %d of log %s, truncating to offset %d.".format(curr.baseOffset, name, curr.nextOffset))
        unflushed.foreach(deleteSegment)

The log segments are deleted, but the log output means that they are truncated to certain offset.

> wrong output in log at Log#recoverLog()
> ---------------------------------------
>
>                 Key: KAFKA-3053
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3053
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.9.0.0
>            Reporter: Xing Huang
>            Priority: Trivial
>
> In Log#recoverLog()  
>   
>     // we had an invalid message, delete all remaining log
>         warn("Corruption found in segment %d of log %s, truncating to offset %d.".format(curr.baseOffset, name, curr.nextOffset))
>         unflushed.foreach(deleteSegment)
> The log segments are deleted, but the log output means that they are truncated to certain offset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)