[
https://issues.apache.org/jira/browse/KAFKA-9820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismael Juma updated KAFKA-9820:
-------------------------------
Fix Version/s: 2.6.0
> 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
> Priority: Major
> Fix For: 2.6.0
>
>
> 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)