kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject [kafka] branch trunk updated: MINOR: fix inconsistance in LogCleaner javadoc (#4027)
Date Wed, 14 Feb 2018 02:24:16 GMT
This is an automated email from the ASF dual-hosted git repository.

guozhang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c0d579c  MINOR: fix inconsistance in LogCleaner javadoc (#4027)
c0d579c is described below

commit c0d579ca12f43c41536dbc7911d2d9485604c52c
Author: lisa2lisa <lisa2lisa@users.noreply.github.com>
AuthorDate: Wed Feb 14 03:24:08 2018 +0100

    MINOR: fix inconsistance in LogCleaner javadoc (#4027)
    
    Reviewers: Guozhang Wang <wangguoz@gmail.com>
---
 core/src/main/scala/kafka/log/LogCleaner.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/kafka/log/LogCleaner.scala b/core/src/main/scala/kafka/log/LogCleaner.scala
index 063f443..568d83f 100644
--- a/core/src/main/scala/kafka/log/LogCleaner.scala
+++ b/core/src/main/scala/kafka/log/LogCleaner.scala
@@ -55,7 +55,7 @@ import scala.collection.JavaConverters._
  * To clean a log the cleaner first builds a mapping of key=>last_offset for the dirty
section of the log. See kafka.log.OffsetMap for details of
  * the implementation of the mapping.
  *
- * Once the key=>offset map is built, the log is cleaned by recopying each log segment
but omitting any key that appears in the offset map with a
+ * Once the key=>last_offset map is built, the log is cleaned by recopying each log segment
but omitting any key that appears in the offset map with a
  * higher offset than what is found in the segment (i.e. messages with a key that appears
in the dirty section of the log).
  *
  * To avoid segments shrinking to very small sizes with repeated cleanings we implement a
rule by which if we will merge successive segments when

-- 
To stop receiving notification emails like this one, please contact
guozhang@apache.org.

Mime
View raw message