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

Respect Storage History prune part in the pruner #3694

Closed
Tracked by #3428
shekhirin opened this issue Jul 10, 2023 · 0 comments · Fixed by #4006
Closed
Tracked by #3428

Respect Storage History prune part in the pruner #3694

shekhirin opened this issue Jul 10, 2023 · 0 comments · Fixed by #4006
Labels
A-pruning Related to pruning or full node C-enhancement New feature or request
Milestone

Comments

@shekhirin
Copy link
Collaborator

shekhirin commented Jul 10, 2023

Describe the feature

Prune StorageChangeSet and StorageHistoryIndex tables in the pruner.

If Account History prune target is less than 64 blocks, don't prune StorageChangeSet table until the target is > 64 blocks. StorageHistoryIndex can be safely pruned, as they are not needed for the unwind.

Additional context

No response

@shekhirin shekhirin added C-enhancement New feature or request A-pruning Related to pruning or full node labels Jul 10, 2023
@shekhirin shekhirin added this to the 0.1.0-alpha.4 milestone Jul 10, 2023
@onbjerg onbjerg modified the milestones: 0.1.0-alpha.4, 0.1.0-alpha.5 Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-pruning Related to pruning or full node C-enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants