Flaky: a_retry_waits_on_its_registration_and_another_backup_is_refused gets TableAlreadyExistsException
维护者通常 5 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 crates/engine/src/backup/tests.rs 中的 backup::tests::a_retry_waits_on_its_registration_and_another_backup_is_refused 开始;issue 指出了 claim_restore_delay 附近不稳定的时序问题,以及第 19469 行附近的断言。将固定延迟替换为由测试控制的闸门,在发送第二次恢复之前保持第一次注册处于打开状态。运行此测试,并确认第二次恢复始终返回 TableInUseException。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Rust
- 星标
- 517
- 派生
- 60
- 平均合并
- 5 天 21 小时
- 30 天内合并 PR
- 110
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ExtendDB/extenddb 的其他 Issue
-
docs: the TLS key troubleshooting entry quotes one warning and overstates who could read the key未关闭documentation
难度 1/5 1-3 小时 新手友好度 82/100
维护者通常 5 天内回复
-
backup: correct the target_not_empty rule, the store root ancestor rule and a remove-target pointer未关闭documentation
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 5 天内回复
-
documentation
难度 1/5 1-3 小时 新手友好度 85/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 5 天内回复
查看 ExtendDB/extenddb 的全部 Issue
相似的 Issue
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area:ui
难度 2/5 1-3 小时 新手友好度 78/100
openfootmanager/openfootmanager#1365 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1-3 小时 新手友好度 90/100
JackMechem/marbble#305 ·
维护者通常 1 天内回复
-
antora bug review-2026-11-11
难度 2/5 1-3 小时 新手友好度 78/100
bovinemagnet/AdocFoundry#546 ·
维护者通常 1 天内回复
-
agent-self
难度 2/5 1-3 小时 新手友好度 84/100
yologdev/yoyo-evolve#1176 ·