[jira] [Commented] (KAFKA-588) Index truncation doesn't seem to remove the last entry properly

2012-10-30 Thread Neha Narkhede (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487164#comment-13487164 ] Neha Narkhede commented on KAFKA-588: - +1 on v2, good catch ! > Index

[jira] [Commented] (KAFKA-588) Index truncation doesn't seem to remove the last entry properly

2012-10-30 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487086#comment-13487086 ] Jay Kreps commented on KAFKA-588: - Okay, I fooled around a little more and figured it out.

[jira] [Commented] (KAFKA-588) Index truncation doesn't seem to remove the last entry properly

2012-10-29 Thread Jun Rao (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486567#comment-13486567 ] Jun Rao commented on KAFKA-588: --- Thanks for the patch. In LogSegmentTest, could we set indexI

[jira] [Commented] (KAFKA-588) Index truncation doesn't seem to remove the last entry properly

2012-10-29 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486293#comment-13486293 ] Jay Kreps commented on KAFKA-588: - Jun the OffsetIndex.truncateTo logic looks right to me a

[jira] [Commented] (KAFKA-588) Index truncation doesn't seem to remove the last entry properly

2012-10-26 Thread Jun Rao (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485020#comment-13485020 ] Jun Rao commented on KAFKA-588: --- >From the log, the broker wants to truncate log to offset 42