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

Enable pruning storage by size #1255

Open
wants to merge 39 commits into
base: mainnet-develop-0.4
Choose a base branch
from

Conversation

Alex6323
Copy link
Contributor

@Alex6323 Alex6323 commented Mar 21, 2022

Description of change

Enables pruning of the storage layer by specifying a target size.

Depends on #1397.

Links to any relevant issues

Type of change

  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes
  • I have updated the CHANGELOG.md, if my changes are significant enough

@thibault-martinez thibault-martinez added wg-ledger Working Group - Ledger c-feature Category - Feature e-medium Experience - Medium p-low Priority - Low n-all Network - All labels Mar 21, 2022
@Alex6323 Alex6323 force-pushed the mainnet-develop-0.4-bee-ledger-pruning-by-size branch from 932a760 to ce9cbed Compare March 23, 2022 12:15
@thibault-martinez thibault-martinez added this to the v0.4 milestone Mar 28, 2022
@Alex6323 Alex6323 force-pushed the mainnet-develop-0.4-bee-ledger-pruning-by-size branch 2 times, most recently from 5b954ae to 9e15a34 Compare April 20, 2022 15:02
@Alex6323 Alex6323 marked this pull request as ready for review April 21, 2022 09:34
pvdrz
pvdrz previously approved these changes Apr 25, 2022
bee-ledger/src/workers/pruning/batch.rs Outdated Show resolved Hide resolved
@Alex6323 Alex6323 force-pushed the mainnet-develop-0.4-bee-ledger-pruning-by-size branch from bf91809 to 97174f6 Compare April 26, 2022 10:09
@Alex6323 Alex6323 mentioned this pull request Apr 27, 2022
7 tasks
@Alex6323 Alex6323 force-pushed the mainnet-develop-0.4-bee-ledger-pruning-by-size branch 2 times, most recently from cbe1292 to 1afb083 Compare April 29, 2022 11:41
bee-ledger/src/workers/pruning/batch.rs Outdated Show resolved Hide resolved
bee-ledger/src/workers/pruning/batch.rs Outdated Show resolved Hide resolved
bee-ledger/src/workers/pruning/condition.rs Outdated Show resolved Hide resolved
bee-ledger/src/workers/pruning/condition.rs Outdated Show resolved Hide resolved
@Alex6323 Alex6323 force-pushed the mainnet-develop-0.4-bee-ledger-pruning-by-size branch from 2633d73 to 665a3d9 Compare May 6, 2022 20:07
@samuel-rufi samuel-rufi self-requested a review May 8, 2022 15:54
@Alex6323 Alex6323 force-pushed the mainnet-develop-0.4-bee-ledger-pruning-by-size branch from 665a3d9 to 680540c Compare May 9, 2022 22:56
@samuel-rufi samuel-rufi self-requested a review May 11, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-feature Category - Feature e-medium Experience - Medium n-all Network - All p-low Priority - Low wg-ledger Working Group - Ledger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants