[ https://issues.apache.org/jira/browse/KAFKA-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949091#comment-14949091 ]
ASF GitHub Bot commented on KAFKA-2621: --------------------------------------- Github user lindong28 closed the pull request at: https://github.com/apache/kafka/pull/286 > nextOffsetMetadata should be changed after rolling a new log segment > -------------------------------------------------------------------- > > Key: KAFKA-2621 > URL: https://issues.apache.org/jira/browse/KAFKA-2621 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8.2.1 > Reporter: Jun Rao > Assignee: Jiangjie Qin > Fix For: 0.9.0.0 > > > When we roll a new log segment (Log.roll()), even though the next offset > doesn't change, the associated metadata (segment base offset and relative > position) will change. So, we need to update nextOffsetMetadata when rolling > a new log segment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)