Skip to content

MINOR: Improve CRC failure handling share groups#21569

Merged
AndrewJSchofield merged 4 commits intoapache:trunkfrom
AndrewJSchofield:share-crc-failures
Mar 2, 2026
Merged

MINOR: Improve CRC failure handling share groups#21569
AndrewJSchofield merged 4 commits intoapache:trunkfrom
AndrewJSchofield:share-crc-failures

Conversation

@AndrewJSchofield
Copy link
Member

@AndrewJSchofield AndrewJSchofield commented Feb 24, 2026

The handling of CRC failures in CompletedShareFetch was incorrect,
particularly when multiple CRC failures occurred. This PR adds a bunch
of tests and corrects the logic for keeping track of the position when a
batch is rejected.

Reviewers: Apoorv Mittal apoorvmittal10@gmail.com

Copy link
Contributor

@apoorvmittal10 apoorvmittal10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, seems the right fix.

@AndrewJSchofield AndrewJSchofield merged commit 6aa702f into apache:trunk Mar 2, 2026
23 checks passed
@AndrewJSchofield AndrewJSchofield deleted the share-crc-failures branch March 2, 2026 22:52
nicktelford pushed a commit to nicktelford/kafka that referenced this pull request Mar 6, 2026
The handling of CRC failures in CompletedShareFetch was incorrect,
particularly when multiple CRC failures occurred. This PR adds a bunch
of tests and corrects the logic for keeping track of the position when a
batch is rejected.

Reviewers: Apoorv Mittal <apoorvmittal10@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants