Skip to content

KAFKA-20232: Fix WakeupException in awaitMetadataUpdate()#21592

Open
Baisang wants to merge 1 commit intoapache:trunkfrom
Baisang:KAFKA-20232_wakeup_awaitmetadaupdate
Open

KAFKA-20232: Fix WakeupException in awaitMetadataUpdate()#21592
Baisang wants to merge 1 commit intoapache:trunkfrom
Baisang:KAFKA-20232_wakeup_awaitmetadaupdate

Conversation

@Baisang
Copy link
Copy Markdown

@Baisang Baisang commented Feb 26, 2026

Asynchronous offset commits may throw an unexpected WakeupException.
This was addressed for some code paths previously in
#12626, but left out for the
awaitMetadataUpdate() code path. This patch fixes the problem by
passing through a flag to awaitMetadataUpdate() to indicate whether
wakeups should be disabled. This is used to disable wakeups in the
context of asynchronous offset commits. All other uses leave wakeups
enabled.

@github-actions github-actions Bot added triage PRs from the community consumer clients small Small PRs labels Feb 26, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 6, 2026

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@lianetm lianetm added ci-approved and removed triage PRs from the community needs-attention labels Mar 10, 2026
Copy link
Copy Markdown
Contributor

@Nikita-Shupletsov Nikita-Shupletsov left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

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