backup: correct the target_not_empty rule, the store root ancestor rule and a remove-target pointer
Maintainer thường phản hồi trong vòng 5 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc các phần được dẫn trong docs/manuals/05-admin-guide.md và docs/manuals/14-backup-and-restore.md, sau đó đối chiếu chúng với các quy tắc được xác định trong crates/engine/src/backup/reconciler.rs, crates/engine/src/backup/maintenance.rs, crates/app/src/cmd_backup.rs, crates/backup-store/src/fs.rs và crates/server/src/backup_store.rs. Cập nhật hướng dẫn không chính xác về khôi phục, quyền thư mục và việc xóa đích; hoàn tất khi các tài liệu hướng dẫn và nội dung mô-đun khớp với hành vi mã được mô tả và trỏ đến mục [backup.store] trong hướng dẫn quản trị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Some backup texts on main state rules that the code does not follow. #897 makes the same corrections in the upgrade manual.
When a restore fails as target_not_empty
The reconciler fails a store-backed restore with no recorded progress as target_not_empty only when the target holds more items than the backup's item_count (exceeds_backup_total in crates/engine/src/backup/reconciler.rs). At or below that count, the takeover arm resumes the restore and applies the first data file again. While a backup command holds the maintenance claim, the reconciler fails such a restore as OWNER_DEAD and removes its target.
These texts say otherwise:
crates/engine/src/backup/maintenance.rs, module doc, lines 39 to 43: on MongoDB and Cassandra, a crash before the first progress record ends intarget_not_empty.crates/app/src/cmd_backup.rs, module doc, lines 118 to 121: the same claim.crates/app/src/cmd_backup.rslines 76 to 78: a record with no recorded progress over a target that holds items fails astarget_not_empty. The code requires more items than the backup holds.crates/engine/src/backup/reconciler.rslines 71 to 74 and 822 to 824: the same statement.
The directories above a filesystem root
crates/backup-store/src/fs.rs refuses an ancestor directory that group or others can write to, unless the directory carries the sticky bit. These texts name only others and leave out the sticky bit:
docs/manuals/05-admin-guide.mdline 168: "sit under directories owned by root or that user which others cannot write to".- The default-root warning in
crates/server/src/backup_store.rs(warn_default_root_unusable): "under directories owned by root or this user that others cannot write to".
docs/manuals/14-backup-and-restore.md states the rule as the code applies it.
The remove-target pointer
docs/manuals/14-backup-and-restore.md lines 479 and 480 send the reader to "the admin guide's backup section" for extenddb backup remove-target. The admin guide has no such section. It describes the command in its [backup.store] section.
- Ngôn ngữ chính
- Rust
- Star
- 517
- Fork
- 60
- Merge trung bình
- 5 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 110
Chuẩn bị môi trường
- Có Dockerfile hoặc 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 ExtendDB/extenddb
-
ci:stability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 5 ngày
-
docs: the TLS key troubleshooting entry quotes one warning and overstates who could read the keyĐang mởdocumentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 5 ngày
-
documentation
Độ khó 1/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 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của ExtendDB/extenddb
Issue tương tự
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openfootmanager/openfootmanager#1365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
JackMechem/marbble#305 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
antora bug review-2026-11-11
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bovinemagnet/AdocFoundry#546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-self
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
yologdev/yoyo-evolve#1176 ·