You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Lucas Bradstreet (Jira)" <ji...@apache.org> on 2020/04/04 00:06:00 UTC
[jira] [Created] (KAFKA-9820)
validateMessagesAndAssignOffsetsCompressed allocates batch iterator which
is not used
Lucas Bradstreet created KAFKA-9820:
---------------------------------------
Summary: validateMessagesAndAssignOffsetsCompressed allocates batch iterator which is not used
Key: KAFKA-9820
URL: https://issues.apache.org/jira/browse/KAFKA-9820
Project: Kafka
Issue Type: Bug
Components: core
Reporter: Lucas Bradstreet
KAFKA-8106 added a new skip key/value iterator that reduces allocations [https://github.com/apache/kafka/commit/3e9d1c1411c5268de382f9dfcc95bdf66d0063a0].
Unfortunately in LogValidator it creates that iterator but it never uses it, and this is quite expensive in terms of allocations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)