Flaky: a_retry_waits_on_its_registration_and_another_backup_is_refused gets TableAlreadyExistsException
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
- 78/100
Hướng nghiên cứu
Bắt đầu trong crates/engine/src/backup/tests.rs tại backup::tests::a_retry_waits_on_its_registration_and_another_backup_is_refused; issue xác định vấn đề thời gian chập chờn quanh claim_restore_delay và assertion gần dòng 19469. Thay khoảng chờ cố định bằng một cổng do bài kiểm thử điều khiển, giữ đăng ký đầu tiên mở cho đến khi yêu cầu khôi phục thứ hai được gửi. Chạy bài kiểm thử này và xác nhận rằng nó luôn trả về TableInUseException cho yêu cầu khôi phục thứ hai.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
backup::tests::a_retry_waits_on_its_registration_and_another_backup_is_refused in crates/engine/src/backup/tests.rs fails some CI runs with TableAlreadyExistsException("Table already exists: MusicRestored").
Runs that failed:
- main at 89b94274e, run 42935162912,
run-tests (stable), 2026-11-11 00:55 UTC. The panic is at tests.rs:19469, the assertion on the restore of the second backup. The Test runs of main at bf5ea8fc1 and 672d07c6e passed. - #900 at 91684d9e4, run 42950822755,
run-tests (stable), 2026-11-11 03:13 UTC, with the same panic and message.run-tests (1.88.0)failed in the same run.
The test holds the first restore's registration for 400 ms (claim_restore_delay). It expects a restore of another backup into the same table name to answer TableInUseException while that registration is in flight. The failing runs answered TableAlreadyExistsException, the answer for a target that exists. That fits a second request that arrives after the first registration ended. The test then depends on the timing of the runner.
Proposed fix: hold the first registration until the test sends the second restore. A gate that the test opens can replace the fixed delay.
- 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
-
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
-
backup: correct the target_not_empty rule, the store root ancestor rule and a remove-target pointerĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/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 ·