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

Reply via email to