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

[5.0 -> main] Recreate EOS VM OC code cache if corrupt #1788

Merged
merged 7 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/5.0 into main including #1780 & #1787

Resolves #1406

@heifner heifner added the OCI Work exclusive to OCI team label Oct 17, 2023
@heifner heifner merged commit d930774 into main Oct 17, 2023
21 checks passed
@heifner heifner deleted the GH-1406-code-cache-main branch October 17, 2023 18:10
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