Sriram Subramanian created KAFKA-866:
----------------------------------------
Summary: 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
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