Test a_retry_waits_on_its_registration_and_another_backup_is_refused fails when the first restore finishes before the third request
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず crates/engine/src/backup/tests.rs を確認します。特に、失敗しているテストと、bulk_load_gate および closed_gate() を使っている近くのテストを確認してください。3つ目のリクエストのアサーションの後まで、最初のリストアのバルクロードを保留し、その後ゲートを開きます。backup::tests::a_retry_waits_on_its_registration_and_another_backup_is_refused を実行してください。3つ目のリクエストが TableInUseException を受け取り、テストが成功するはずです。
索引モデルが issue の本文から書いたものです。
説明
What happens
backup::tests::a_retry_waits_on_its_registration_and_another_backup_is_refused in crates/engine/src/backup/tests.rs failed in the mongodb-rust job of #830's CI on 2026-11-07 (run 42325897438, job 128260989427):
panicked at crates/engine/src/backup/tests.rs:18576:5:
TableAlreadyExistsException("Table already exists: MusicRestored")
The same job passed twice on main at 76b9710dc and once on #411. #830 does not change crates/engine.
Why
The test sends three restore requests for the target MusicRestored:
claim_restore_delayholds the first request's registration for 400 ms.- A retry of the same request waits for that registration and gets the CREATING description.
- A restore of another backup into the same name expects
TableInUseException. A committed registration gives that answer while its restore job runs.
Nothing holds the first restore's job, and the backup has two items. If the job finishes before the third request, the table is ACTIVE, and the third request gets TableAlreadyExistsException. That is the answer in the failed run.
Suggested fix
Hold the first restore's bulk load with bulk_load_gate and a closed_gate(), as other tests in the same file do. Open the gate after the assertion on the third request.
Related: #740.
- 主要言語
- Rust
- スター
- 517
- フォーク
- 60
- 平均マージ
- 5日 3時間
- マージ済み PR(30日)
- 79
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ExtendDB/extenddb のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
tests: two race tests share one boto3 client across threads and failed with TLSV1_ALERT_DECODE_ERRORオープンci:stability
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 4 日以内に返信
-
storage-sqlite: a restore slot test checks the slot before the copy frees it対応中かも @Dodothereal が今日担当しました。 オープンci:stability sqlite
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 4 日以内に返信
ExtendDB/extenddb の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug order-flow studies ui
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
userFRM/egui-charts#2417 ·
メンテナーはふだん 1 日以内に返信
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay live対応中かも @ragelfundionctrumnar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UCS-Care-Group/mailcraft#862 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
smoltcp-rs/smoltcp#1243 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信