Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1055

BrokerTopicStats is updated before checking for MessageSizeTooLarge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.1
    • None
    • None

    Description

      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.

      Attachments

        1. KAFKA-1055.patch
          1 kB
          Guozhang Wang
        2. KAFKA-1055_2014-01-21_13:29:04.patch
          2 kB
          Guozhang Wang

        Activity

          People

            guozhang Guozhang Wang
            guozhang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: