GitHub user ig-michaelpearce opened a pull request:
https://github.com/apache/kafka/pull/2310
KAFKA-4497 - Ignore offset -1 in TimeIndex avoiding exception issue
Ignore offset -1 in TimeIndex avoiding exception issue Killing compaction
thread.
As it seems issue remains, in 0.10.1.1 that during compaction -1 is
being sent to TimeIndex, as anyhow this means a messages with no
messages, we should ignore -1 offset, to avoid exception being thrown
and killing the compaction thread.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/IG-Group/kafka KAFKA-4497
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2310.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 #2310
commit 64c428f231d5c8be98d5a6a649e0e09d6cd341ce
Author: Michael Pearce
Date: 2017-01-04T11:18:50Z
KAFKA-4497 - Ignore offset -1 in TimeIndex avoiding exception issue killing
compaction thread.
As it seems issue remains, in 0.10.1.1 that during compaction -1 is
being sent to TimeIndex, as anyhow this means a messages with no
messages, we should ignore -1 offset, to avoid exception being thrown
and killing the compaction thread.
---
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.
---