[
https://issues.apache.org/jira/browse/KAFKA-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guozhang Wang updated KAFKA-1055:
---------------------------------
Attachment: KAFKA-1055_2014-01-21_13:29:04.patch
> BrokerTopicStats is updated before checking for MessageSizeTooLarge
> -------------------------------------------------------------------
>
> Key: KAFKA-1055
> URL: https://issues.apache.org/jira/browse/KAFKA-1055
> Project: Kafka
> Issue Type: Bug
> Reporter: Guozhang Wang
> Assignee: Guozhang Wang
> Fix For: 0.8.1
>
> Attachments: KAFKA-1055.patch, KAFKA-1055_2014-01-21_13:29:04.patch
>
>
> In Log.append function, BrokerTopicStats is updated before the checking for
> MessageSizeTooLarge, hence even if messages are refused at the server due to
> this exception, their counts would still be aggregated. Need to move the
> BrokerTopicStats update after the checking.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)