Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v23.2.x] Fixed skipping application of raft snapshot #16221

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

mmaslankaprv
Copy link
Member

@mmaslankaprv mmaslankaprv commented Jan 22, 2024

Backport of PR #15145
Fixes: #15198

When `persisted_stm` starts it must apply both local and raft snapshot.

When Raft snapshot is present or local snapshot is out of date it must
be applied to the stm. Removed code that was setting next offset
preventing Raft snapshot from being applied.

Fixes: redpanda-data#15127

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit c9c675e)
@piyushredpanda piyushredpanda merged commit bbb2ead into redpanda-data:v23.2.x Jan 22, 2024
26 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.2.x-next, v23.2.25 Feb 8, 2024
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.

None yet

3 participants