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.1.x] cloud_storage: Unknown STM command handling #12055

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

Lazin
Copy link
Contributor

@Lazin Lazin commented Jul 12, 2023

Throw exception if the replicated STM command is unknown. Currently, the STM silently drop the command on the floor. This may cause replicas to diverge during the rolling upgrade.

This may cause our upgrade tests to fail if we're not handling rolling upgrades correctly in tiered-storage.

Fixes #12014

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.1.x
  • v22.3.x
  • v22.2.x

Release Notes

Bug Fixes

  • Make tiered-storage metadata handling more strict during rolling upgrades

Throw exception if the replicated STM command is unknown. Currently, the
STM silently drop the command on the floor. This may cause replicas to
diverge during the rolling upgrade.

(cherry picked from commit a78ac8c)
@Lazin Lazin merged commit 1c42fdd into redpanda-data:v23.1.x Jul 12, 2023
@BenPope BenPope added this to the v23.1.14 milestone Aug 7, 2023
@BenPope BenPope added the kind/backport PRs targeting a stable branch label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants