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

Chunk Data pack Pruner #6516

Open
1 of 18 tasks
Tracked by #6515 ...
j1010001 opened this issue Oct 1, 2024 · 1 comment
Open
1 of 18 tasks
Tracked by #6515 ...

Chunk Data pack Pruner #6516

j1010001 opened this issue Oct 1, 2024 · 1 comment
Assignees
Labels
Execution Cadence Execution Team

Comments

@j1010001
Copy link
Member

j1010001 commented Oct 1, 2024

Why

In general, see Epic: #6515

Specifically for this issue:

  1. Chunks data packs are stored on EN and use the most storage storage (growing ~1TB in 2 weeks, for first 2 weeks of MN26 - traffic dependent).
  2. Pruning requires EN downtime, so requires manual intervention every time the storage gets close to a limit.

How will we measure success ?

  • Validates assumptions that the pruning actually removes chuck data packs from disk.
  • No downtime and no intervention is required for maintaining stable storage required for Chunk data packs on ENs.

Current status

Chunk data packs are already stored in Pebble DB on EN on Miannet. We haven’t implemented pruning yet, current solution requires downtime on EN to remove old data.
Scope: We have a POC PR based on v0.33, it needs to be ported to master, design and implementation reviewed, required refactoring of the POC PR finished.
No HCU required to deploy, only rolling upgrade.

Estimate

5 dev/weeks to be ready to deploy.

DACI

Role Assigned
Driver Technical: @zhangchiqing , EM: @j1010001
Approver @Kay-Zee
Consulted @AlexHentschel, @franklywatson
Informed Flow protocol Engineering team

Tasks

@zhangchiqing
Copy link
Member

zhangchiqing commented Oct 2, 2024

It's been 7 days since the latest spork (Sep 25), and the mainnet EN produced 480GB chunk data packs data.

@j1010001 j1010001 changed the title Replace Badger with Pebble DB - Chunk Data packs Chunk Data packs Pruner Oct 8, 2024
@j1010001 j1010001 changed the title Chunk Data packs Pruner Chunk Data pack Pruner Oct 8, 2024
@j1010001 j1010001 self-assigned this Oct 10, 2024
@vishalchangrani vishalchangrani added the Execution Cadence Execution Team label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Execution Cadence Execution Team
Projects
None yet
Development

No branches or pull requests

3 participants