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

clean up old BeaconStates. #8525

Open
rolfyone opened this issue Aug 22, 2024 · 0 comments
Open

clean up old BeaconStates. #8525

rolfyone opened this issue Aug 22, 2024 · 0 comments
Assignees

Comments

@rolfyone
Copy link
Contributor

We should probably provide at least a debug tool to cleanup the states table.

Currently if you switch from archive -> prune mode, we'll not load the archive tables so they're not accessible, but the data remains. Generally speaking, its likely that people are switching from archive mode to cleanup space, so it'd be nice to be able to at the very least clean this as a debug tool...

An alternative here would be to verify the table is empty when we start in prune or minimal mode and slowly clean it up if its not empty (oldest first), but this would be more complicated.... Maybe we should discuss the best option here...

@mehdi-aouadi mehdi-aouadi self-assigned this Sep 18, 2024
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

No branches or pull requests

2 participants