[ 
https://issues.apache.org/jira/browse/KAFKA-17713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887418#comment-17887418
 ] 

Kevin Wu edited comment on KAFKA-17713 at 10/7/24 8:24 PM:
-----------------------------------------------------------

It seems like I can't assign this issue to myself. How can I fix this?


was (Author: JIRAUSER306575):
It seems like I can't assign this issue to myself. How can I get added to the 
kafka group on jira?

> Ensure snapshots are aligned to batch boundaries
> ------------------------------------------------
>
>                 Key: KAFKA-17713
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17713
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Kevin Wu
>            Priority: Major
>
> In the case of a metadata transaction that is started in the middle of the 
> record batch, the records preceding the BeginTransactionRecord in the batch 
> are flushed. This means the SnapshotGenerator can emit a snapshot whose fetch 
> offset (lastContainedOffset + 1) "X" is not aligned to a batch boundary. This 
> can result in followers/observers that fetch and apply this bad snapshot to 
> be unable to successfully fetch thereafter since the follower will reject the 
> fetched record batch that contains offset X (starting at offset X - M), since 
> X - M < X.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to