[ 
https://issues.apache.org/jira/browse/KAFKA-21234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai updated KAFKA-21234:
-----------------------------------
    Fix Version/s: 3.9.3
                   4.5.0
                   4.4.1
                   4.3.3
                   4.2.3

> MetadataLoader can receive uncommitted data when log reads exceed 
> MAX_BATCH_SIZE_BYTES
> --------------------------------------------------------------------------------------
>
>                 Key: KAFKA-21234
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21234
>             Project: Kafka
>          Issue Type: Bug
>          Components: kraft
>            Reporter: Kevin Wu
>            Assignee: Kevin Wu
>            Priority: Major
>             Fix For: 3.9.3, 4.5.0, 4.4.1, 4.3.3, 4.2.3
>
>
> When the metadata layer tries to read a slice of records from KRaft which is 
> greater than `KafkaRaftClient#MAX_BATCH_SIZE_BYTES`, the `RecordsIterator` 
> can return records which are past the HWM. This can lead to a metadata error 
> since uncommitted data should not be visible to the metadata layer.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to