You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2013/09/17 02:34:51 UTC

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

Guozhang Wang created KAFKA-1055:
------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira