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

c/migration/table: when applying a snapshot update completed timestamp #24709

Merged

Conversation

bashtanov
Copy link
Contributor

When applying a snapshot we forgot to update completed timestamp. It may bring us into an incorrect state where state is finished but completed timestamp is not set.
https://redpandadata.atlassian.net/browse/CORE-8723

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
  • v24.3.x
  • v24.2.x
  • v24.1.x

Release Notes

  • none

@vbotbuildovich
Copy link
Collaborator

Retry command for Build#60352

please wait until all jobs are finished before running the slash command

/ci-repeat 1
tests/rptest/tests/archival_test.py::ArchivalTest.test_single_partition_leadership_transfer@{"cloud_storage_type":2}

@bashtanov
Copy link
Contributor Author

^ irrelevant

@bashtanov
Copy link
Contributor Author

/ci-repeat 1
tests/rptest/tests/archival_test.py::ArchivalTest.test_single_partition_leadership_transfer@{"cloud_storage_type":2}

@vbotbuildovich
Copy link
Collaborator

CI test results

test results on build#60367
test_id test_kind job_url test_status passed
rm_stm_tests_rpunit.rm_stm_tests_rpunit unit https://buildkite.com/redpanda/redpanda/builds/60367#01944251-cd70-40ee-bef7-453555e2b969 FLAKY 1/2
storage_e2e_single_thread_rpunit.storage_e2e_single_thread_rpunit unit https://buildkite.com/redpanda/redpanda/builds/60367#01944251-cd70-40ee-bef7-453555e2b969 FLAKY 1/2

@bashtanov bashtanov merged commit 0770e2d into redpanda-data:dev Jan 16, 2025
18 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v24.3.x

Copy link
Member

@dotnwat dotnwat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this have implications on existing clusters that aren't expecting this new value to appear?

@bashtanov
Copy link
Contributor Author

It normally appears, as raft message application does transfer it. It may be missed when a snapshot is applied. Whether it comes via message or via snapshot depends on raft lifecycle such as node shutdowns/resumes/recovery etc. So I doubt anything expects it to be missing.

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.

4 participants