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

[4.0 -> 5.0] Recreate EOS VM OC code cache if corrupt #1787

Merged
merged 5 commits into from
Oct 17, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 17, 2023

On startup recreate the EOS VM OC code cache if it is corrupt. The code cache is strictly a cache and can be recreated at anytime. No reason to stop startup with an error if it is corrupt, simply remove it and start over.

Also when --replay-blockchain is specified remove the code cache as it is likely not going to be useful and better to start from a clean slate.

Merges release/4.0 into release/5.0 including #1780

Resolves #1406

@heifner heifner added the OCI Work exclusive to OCI team label Oct 17, 2023
@heifner heifner linked an issue Oct 17, 2023 that may be closed by this pull request
@heifner heifner merged commit c03e460 into release/5.0 Oct 17, 2023
21 checks passed
@heifner heifner deleted the GH-1406-code-cache-5.0 branch October 17, 2023 16:50
@heifner heifner added this to the Leap v5.0.0-stable milestone Oct 19, 2023
@heifner heifner self-assigned this Oct 24, 2023
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.

Replay-blockchain option not purging state code cache
3 participants