Test a_retry_waits_on_its_registration_and_another_backup_is_refused fails when the first restore finishes before the third request
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
Línea de trabajo
Empieza por crates/engine/src/backup/tests.rs, especialmente por la prueba que falla y las pruebas cercanas que usan bulk_load_gate y closed_gate(). Mantén la carga masiva de la primera restauración bloqueada hasta después de la aserción de la tercera solicitud y, luego, abre la compuerta. Ejecuta backup::tests::a_retry_waits_on_its_registration_and_another_backup_is_refused; debería pasar y la tercera solicitud debería recibir TableInUseException.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 517
- Forks
- 60
- Merge medio
- 5 d 3 h
- PR fusionados (30 d)
- 79
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ExtendDB/extenddb
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 4 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 4 días
-
tests: two race tests share one boto3 client across threads and failed with TLSV1_ALERT_DECODE_ERRORAbiertoci:stability
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 4 días
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 4 días
-
storage-sqlite: a restore slot test checks the slot before the copy frees itPosiblemente ocupada @Dodothereal la tomó hoy. Abiertoci:stability sqlite
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 4 días
Todos los issues de ExtendDB/extenddb
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
bug order-flow studies ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
userFRM/egui-charts#2417 ·
Los mantenedores suelen responder en 1 día
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay livePosiblemente ocupada @ragelfundionctrumnar la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
UCS-Care-Group/mailcraft#862 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
smoltcp-rs/smoltcp#1243 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día