Automatic pruning of the eligible certificates in the aggregator

Aperta
#3,743 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend, databases

Direzione di ricerca

Start by locating the aggregator configuration, the upkeep service’s epoch pruning tasks, and the existing pruner; the issue names these entry points but not their file paths. Trace how retention and protected certificates are handled, then determine how pruning runs at startup and how the certificate chain is checked. Done means eligible certificates and linked data are pruned while protected certificates remain and the chain stays valid, with documentation updated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature :rocket:

Why

The certificates table of the aggregator grows without bound, which increases the storage requirements and the query latency over time.

What

The aggregator automatically removes the certificates that are older than the retention and are not protected, together with the data linked to them, while keeping the certificate chain valid.

How

  • Add a parameter to the aggregator for automatic pruning
  • Add a certificate pruning task to the epoch pruning tasks of the upkeep service that reuses the existing pruner
  • Run the pruning at aggregator startup
  • Check that the certificate chain remains valid after a pruning
  • Update the documentation
Lingua principale
Rust
Stelle
155
Fork
52
Merge medio
3g 9h
PR unite (30g)
33

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntersectMBO/mithril

Tutte le issue di IntersectMBO/mithril

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.