You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kevin Wu (Jira)" <ji...@apache.org> on 2026/10/07 13:53:00 UTC
[jira] [Resolved] (KAFKA-21234) MetadataLoader can receive uncommitted data when log reads exceed MAX_BATCH_SIZE_BYTES
[ 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)