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

Don't check ledger hash at start; restore final checkpoint #13600

Merged
merged 15 commits into from
Jul 26, 2023

Conversation

psteckler
Copy link
Member

@psteckler psteckler commented Jul 14, 2023

After loading the blocks it's going to replay, the replayer builds a table from global slots to ledger and state hashes. If the start slot did not contain a block, it would search backwards and never find the most recent hashes, because only the blocks to be replayed are loaded, no blocks before the start slot. So don't look for the ledger hash at the start slot -- we haven't yet replayed anything. We didn't see this issue until we started using checkpoint files.

Also, restore the checkpoint file dumped at the finish, but only write a checkpoint file if the block at a slot is canonical.

Updated the cron job to use image from this PR.

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@psteckler
Copy link
Member Author

!ci-build-me

@ghost-not-in-the-shell
Copy link
Contributor

The fix for payment test hasn't been merged for compatible. There's some merge conflict hasn't been resolved with the berkeley and develop branch (the test executive module has been changed). Helena is picking up the work this week. My suggestion for now would be just retry the test manually.

@psteckler
Copy link
Member Author

!ci-build-me

This was referenced Jul 25, 2023
@psteckler psteckler merged commit 375e43a into compatible Jul 26, 2023
@psteckler psteckler deleted the fix/replayer-start-ledger-hash branch July 26, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants