You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joel Koshy (JIRA)" <ji...@apache.org> on 2014/01/25 03:00:39 UTC

[jira] [Resolved] (KAFKA-1055) BrokerTopicStats is updated before checking for MessageSizeTooLarge

     [ https://issues.apache.org/jira/browse/KAFKA-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joel Koshy resolved KAFKA-1055.
-------------------------------

    Resolution: Fixed

Committed to trunk.

> 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)