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

Skip duplicate message size check if there is no re-compression during log appending.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijuma Ismael Juma
                Reporter:
                becket_qin Jiangjie Qin
                Reviewer:
                Jun Rao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: