Automatic pruning of the eligible certificates in the aggregator

Đang mở
#3,743 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend, databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Rust
Star
155
Fork
52
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IntersectMBO/mithril

Tất cả issue của IntersectMBO/mithril

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.