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.3.x] r/offset_translator: remove unsafe bootstrap code #15988

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #15919

When the corresponding kvstore state is not found, we should recover offset_translator
state from the log, not use configuration_manager state - the latter is incorrect because
there are other batch types contributing to offset delta, not just configuration batches.
This code is a vestige from the time when the separate offset_translator component was
just introduced and its kvstore state needed to be bootstrapped from configuration_manager
state.

(cherry picked from commit 8c38ccf)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jan 8, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 8, 2024
@ztlpn
Copy link
Contributor

ztlpn commented Jan 8, 2024

/ci-repeat

@ztlpn ztlpn marked this pull request as ready for review January 9, 2024 14:14
@ztlpn ztlpn merged commit c65b967 into redpanda-data:v23.3.x Jan 9, 2024
21 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.6 Feb 21, 2024
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.

None yet

3 participants