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

Kevin Wu resolved KAFKA-21234.
------------------------------
    Resolution: Duplicate

> 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
>
> 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
(v8.20.10#820010)

Reply via email to