Skip to content

Conversation

@lianetm
Copy link
Member

@lianetm lianetm commented Nov 18, 2025

Fix to avoid initializing positions for partitions being revoked, as it
is unneeded (we do not allow fetching from partitions being revoked),
and could lead to NoOffsetForPartitionException on a partition that is
already being revoked (this is confusing for applications).

This is the behaviour we already had for fetch, just applying it to
update positions to align.

This gap was surfaced on edge cases of partitions being assigned and
revoked right away.

Reviewers: Andrew Schofield [email protected], Lucas Brutschy
[email protected]

Copy link
Member

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@lucasbru lucasbru left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@lianetm lianetm merged commit 4a8ad8e into apache:trunk Nov 19, 2025
26 checks passed
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.

3 participants