[
https://issues.apache.org/jira/browse/KAFKA-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sriram Subramanian updated KAFKA-866:
-------------------------------------
Attachment: KAFKA-866-v2.patch
On Jun's suggestion reverting the fetcher thread to perform shallow iteration
for performance. We could hit corrupt messages but this should be rare.
> Recover segment does shallow iteration to fix index causing inconsistencies
> ---------------------------------------------------------------------------
>
> Key: KAFKA-866
> URL: https://issues.apache.org/jira/browse/KAFKA-866
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.8
> Reporter: Sriram Subramanian
> Assignee: Sriram Subramanian
> Priority: Blocker
> Labels: kafka-0.8, p1
> Attachments: KAFKA-866.patch, KAFKA-866-v2.patch
>
>
> When we recover a segment, we do a shallow iteration to fix the index. This
> creates entries in the index with the last logical offset in a compressed
> messageSet. However, during log append we use the starting offset in a
> compressed message set to populate the index (We changed to starting offset
> recently). This causes inconsistencies.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira