GitHub user mimaison opened a pull request:

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

    KAFKA-3587: LogCleaner fails due to incorrect offset map computation …

    Removed the over pessimistic require and instead attempt to fill the dedup 
buffer. Use the (only) map until full;
    this may allow to process all dirty segment (optimism) or may happen in the 
middle of a dirt segment.
    In either case, do compaction using the map loaded that way.
    
    This patch was developed with @edoardocomar

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

    $ git pull https://github.com/mimaison/kafka KAFKA-3587

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

    https://github.com/apache/kafka/pull/1332.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 #1332
    
----
commit e4f4e5ed75a845f0c4cc2b6745dc213f71affe6d
Author: Mickael Maison <mickael.mai...@gmail.com>
Date:   2016-05-06T15:08:03Z

    KAFKA-3587: LogCleaner fails due to incorrect offset map computation on a 
replica
    
    Removed the over pessimistic require and instead attempt to fill the dedup 
buffer. Use the (only) map until full;
    this may allow to process all dirty segment (optimism) or may happen in the 
middle of a dirt segment.
    In either case, do compaction using the map loaded that way.
    
    This patch was developed with @edoardocomar

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to