Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

BABE aux storage pruning #8692

Closed
arkpar opened this issue Apr 28, 2021 · 1 comment · Fixed by #10748
Closed

BABE aux storage pruning #8692

arkpar opened this issue Apr 28, 2021 · 1 comment · Fixed by #10748
Assignees
Labels
I3-bug The node fails to follow expected behavior. U2-some_time_soon Issue is worth doing soon. Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.

Comments

@arkpar
Copy link
Member

arkpar commented Apr 28, 2021

Currently AUX column in the polkadot database is over 1Gb in size. Out of 4.9m values most are small, but some 22208 are 50-100kbytes in size (See this comment for details). Small values are probably BABE block weights, that could be pruned on finality. Larger values are most likely slot equivocation detection data, which should be already pruned. So, there are two items here:

  1. Implement BABE block weight data pruning.
  2. Figure out the source for per-epoch storage values, and if there's an issue with slot pruning - fix it.
@arkpar arkpar added I3-bug The node fails to follow expected behavior. U2-some_time_soon Issue is worth doing soon. Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase. labels Apr 28, 2021
@arkpar
Copy link
Member Author

arkpar commented Apr 28, 2021

cc @andresilva

@stale stale bot added the A5-stale Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Jul 7, 2021
@bkchr bkchr removed the A5-stale Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Dec 7, 2021
@paritytech paritytech deleted a comment from stale bot Jan 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I3-bug The node fails to follow expected behavior. U2-some_time_soon Issue is worth doing soon. Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants