Skip to content

Conversation

@TYsewyn
Copy link

@TYsewyn TYsewyn commented Sep 9, 2025

… and closing (#18752)

To address the issue of not creating a checkpoint file during the restoring and closing process, called the
GlobalStateUpdateTask.flushState() method in
GlobalStateUpdateTask.initialize() and GlobalStateUpdateTask.close() methods. This will flush the state and create a checkpoint file thereby, avoiding the need to completely restore the entire state.

Reviewers: Alieh Saeedi asaeedi@confluent.io, Matthias J. Sax matthias@confluent.io

Backporting KAFKA-18168 into 3.9.x.

… and closing (apache#18752)

To address the issue of not creating a checkpoint file during the
restoring and closing process, called the
GlobalStateUpdateTask.flushState() method in
GlobalStateUpdateTask.initialize() and GlobalStateUpdateTask.close()
methods. This will flush the state and create a checkpoint file thereby,
avoiding the need to completely restore the entire state.

Reviewers: Alieh Saeedi <asaeedi@confluent.io>, Matthias J. Sax <matthias@confluent.io>
@mjsax
Copy link
Member

mjsax commented Nov 10, 2025

Thanks for the PR. We usually only do backport PRs is cherry-picking is not clean; but it is clean for this fix. If you want fixes to get cherry-picked, just comment on the ticket and/or merged PR and we can take it from there.

Just cherry-picked the original commit for this to both 4.0 and 3.9 branches (we should include all versions if we cherry-pick...)

Closing this PR as obsolete.

@mjsax mjsax closed this Nov 10, 2025
@FrankYang0529
Copy link
Member

Thanks for helping to cherry-pick the commit.

b84618a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants