Skip to content

Conversation

@mjsax
Copy link
Member

@mjsax mjsax commented Dec 17, 2025

This bug was introduced via KAFKA-18015.

Reviewers: Lucas Brutschy [email protected], Vincent Potuček
(@Pankraz76)

…ater

This bug was introduced via KAFKA-18015.
@mjsax mjsax added the streams label Dec 17, 2025
@github-actions github-actions bot added the small Small PRs label Dec 17, 2025
@lucasbru lucasbru requested a review from Copilot December 17, 2025 16:01
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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug where active tasks undergoing reset-by-duration were incorrectly being handed back to the state updater. The state updater is responsible for restoring task state, not managing active tasks during offset reset operations. The incorrect behavior was introduced in KAFKA-18015.

Key Changes:

  • Removed erroneous stateUpdater.add(task) call from maybeInitTaskTimeoutsOrThrow method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

@Pankraz76 Pankraz76 left a comment

Choose a reason for hiding this comment

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

+1

@mjsax mjsax merged commit aa016f1 into apache:trunk Dec 20, 2025
23 checks passed
@mjsax mjsax deleted the kafka-20002-reset-duration-task branch December 20, 2025 00:16
mjsax added a commit that referenced this pull request Dec 20, 2025
…ater (#21167)

This bug was introduced via KAFKA-18015.

Reviewers: Lucas Brutschy <[email protected]>, Vincent Potuček
 (@Pankraz76)
mjsax added a commit that referenced this pull request Dec 20, 2025
…ater (#21167)

This bug was introduced via KAFKA-18015.

Reviewers: Lucas Brutschy <[email protected]>, Vincent Potuček
 (@Pankraz76)
@mjsax
Copy link
Member Author

mjsax commented Dec 20, 2025

Merged to trunk, and cherry-picked to 4.2, 4.1, and 4.0 branches.

mjsax added a commit that referenced this pull request Dec 20, 2025
…ater (#21167)

This bug was introduced via KAFKA-18015.

Reviewers: Lucas Brutschy <[email protected]>, Vincent Potuček
 (@Pankraz76)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants