Automatic pruning of the eligible certificates in the aggregator

Abierto
#3,743 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Rust
Estrellas
155
Forks
52
Merge medio
3 d 9 h
PR fusionados (30 d)
33

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de IntersectMBO/mithril

Todos los issues de IntersectMBO/mithril

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.