[ https://issues.apache.org/jira/browse/KAFKA-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948850#comment-14948850 ]
ASF GitHub Bot commented on KAFKA-2624: --------------------------------------- GitHub user dopuskh3 opened a pull request: https://github.com/apache/kafka/pull/287 KAFKA-2624: Change log message position Log warning message before truncating log in order to display right offset value for the truncated log. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dopuskh3/kafka KAFKA-2624 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/287.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 #287 ---- commit 3f96c3778f2277eae2b84e7ba6aae424010b3c84 Author: Francois Visconte <f.visco...@criteo.com> Date: 2015-10-08T15:28:09Z KAFKA-2624: Change log message position Log warning message before truncating log in order to display right offset value for the truncated log. ---- > Truncate warn message logged after truncating partitions > -------------------------------------------------------- > > Key: KAFKA-2624 > URL: https://issues.apache.org/jira/browse/KAFKA-2624 > Project: Kafka > Issue Type: Bug > Components: replication > Affects Versions: 0.6, 0.7, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.8.1.1, 0.8.1.2, > 0.8.2.0, 0.8.2.1, 0.9.0.0, 0.10.0.0, 0.8.2.2, 0.9.0.1 > Reporter: Francois Visconte > Assignee: Neha Narkhede > Priority: Trivial > Fix For: 0.6, 0.7, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.8.1.1, 0.8.1.2, > 0.8.2.0, 0.8.2.1, 0.9.0.0, 0.10.0.0, 0.8.2.2, 0.9.0.1 > > > Message warning about truncating is logged after log has been truncated. > Consequently, logged message is always of the form > Replica 13 for partition [topic_x,24] reset its fetch offset from 1234 to > current leader 22's latest offset 1234 (kafka.server.ReplicaFetcherThread) -- This message was sent by Atlassian JIRA (v6.3.4#6332)