Add a sub-command to prune the certificates of an aggregator database
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start by reading the certificate pruning task and the retention rules in issue #3727, then trace how the aggregator CLI defines its tools subcommands and how database foreign keys connect certificates to signed entities. The issue also calls for dry-run and certificate-chain verification, measurements on copies of four network databases, and aggregator-guide documentation. Done means the command prunes according to the rules and reports the requested counts, sizes, query latency, and chain validity.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why
The gain of the certificate pruning on the storage and on the query latency is unknown on real databases, and operators need a way to prune an existing database without waiting for the upkeep of a running aggregator.
What
A new sub-command of the tools command of the aggregator CLI prunes the certificates of an aggregator database with the retention rules, and its gain is assessed on copies of the databases of testing-preview and of the other Mithril networks.
How
- Implement the pruner that removes the eligible certificates older than the retention, keeping the genesis certificates, the master certificates of each epoch and the protected signed entity types (depending on rules established in #3727)
- Add a sub-command to the
toolscommand of the aggregator CLI that- Prunes the certificates of a database with a given retention, reusing the certificate pruning task
- Remove the signed entities linked to the pruned certificates (deal with foreign keys)
- Warn that aggregator must not be running in the mean time?
- Implement a dry run for the sub-command
- The database files are given as input to the command
- Verify the certificate chain after pruning
- Report the number of pruned certificates and signed entities, and the size of the database before and after the pruning and the vacuum
- Assess the gain on copies of the databases of the Mithril networks (
testing-preview,pre-release-preview,release-preprodandrelease-mainnet):- Size of the database
- Latency of the certificate queries
- Validity of the certificate chain after the pruning
- Document the sub-command in the aggregator guide
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của IntersectMBO/mithril
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
IntersectMBO/mithril#1605 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
IntersectMBO/mithril#3748 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
feature :rocket:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
IntersectMBO/mithril#3743 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
optimization :hammer_and_wrench:
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
IntersectMBO/mithril#3741 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
infrastructure :classical_building:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
IntersectMBO/mithril#3740 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của IntersectMBO/mithril
Issue tương tự
-
triage: failed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
oxc-project/tsrs#1277 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
tursodatabase/turso#13221 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Có thể đã có người làm @flyingrobots đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
flyingrobots/edict#457 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100