Jiangjie Qin created KAFKA-3253:
-----------------------------------

             Summary: Skip duplicate message size check if there is no 
re-compression during log appending.
                 Key: KAFKA-3253
                 URL: https://issues.apache.org/jira/browse/KAFKA-3253
             Project: Kafka
          Issue Type: Improvement
            Reporter: Jiangjie Qin


In Log.append(), if the messages were not re-compressed, we don't need to check 
the message size again because it has already been checked in 
analyzeAndValidateMessageSet(). Also this second check is only needed when 
assignOffsets is true.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to