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

[v24.3.x] r/utils: fixed setting log start delta in snapshot #24628

Merged

Conversation

mmaslankaprv
Copy link
Member

Backport of PR #24618

When topic partition is recovered from cloud data Raft protocol is
seeded with special snapshot created during recovery. The snapshot may
then be used to seed out of date followers. The snapshot content must
be valid in terms of offsets and offset translator deltas.

Previously the delta set in the snapshot created during recovery was set
to 0. When this snapshot is delivered to the follower it will reset the
follower offset translation state accordingly. This may lead to
inconsistent deltas across replicas.

Signed-off-by: Michał Maślanka <[email protected]>
(cherry picked from commit e7ea155)
@mmaslankaprv mmaslankaprv added this to the v24.3.x-next milestone Dec 20, 2024
@mmaslankaprv mmaslankaprv added the kind/backport PRs targeting a stable branch label Dec 20, 2024
@mmaslankaprv mmaslankaprv marked this pull request as ready for review December 20, 2024 17:16
@mmaslankaprv mmaslankaprv requested a review from Lazin December 20, 2024 17:35
@mmaslankaprv mmaslankaprv requested a review from andrwng December 23, 2024 12:49
@mmaslankaprv mmaslankaprv merged commit e1b9a3f into redpanda-data:v24.3.x Dec 23, 2024
17 checks passed
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.

2 participants