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

[1.0 -> main] Replay from retained directory with no block log #597

Merged
merged 15 commits into from
Aug 20, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Aug 20, 2024

PR fixes two issues:

  • Replaying from a snapshot with no block log, but blocks in the retained directory, issue Loading from snapshot with block strides #586
    • Before this PR, block log head would be nullptr and no blocks would be replayed from the retained directory.
  • Interrupting replay of block log (from blocks or retained directory) via ctrl-c, restarting replay when no fork database.
    • Before this PR, would fail by throwing an error that no fork database exists.

Merges release/1.0 into main including #565 and #595 (forward backport back to main)

Resolves #586

@heifner heifner requested review from greg7mdp and arhag August 20, 2024 17:03
@heifner heifner added the OCI Work exclusive to OCI team label Aug 20, 2024
@arhag arhag linked an issue Aug 20, 2024 that may be closed by this pull request
@ericpassmore
Copy link
Contributor

Note:start
group: STABILITY
category: INTERNALS
summary: Replay from Blocks in the retained directory.
Note:end

@heifner heifner merged commit b3a74eb into main Aug 20, 2024
36 checks passed
@heifner heifner deleted the GH-586-no-block-log-with-retained-main branch August 20, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading from snapshot with block strides Create Savanna unittests modeled after the fast testnet wave tests.
4 participants