net: a widened lite-07 reader takes recovered groups its new max already expired
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, rust
Línea de trabajo
Read js/net/src/lite/widened_max_age.test.ts and the Rust widened_max_age::a_widened_reader_gets_what_was_skipped test to compare the recovery behavior. The issue offers two possible approaches, so first trace how recovered groups are judged in the JS arrival reader and how TrackState::join_start handles stale groups. Done means the JS test gets groups 2 to 5 and a Rust test covers recovery groups landing one at a time.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
A lite-07 reader that widens its live join's max asks for the groups its narrow max was told were old (SUBSCRIBE_OLD) on a recovery subscription of its own. The recovery has no max age and lands its groups oldest first. @moq/net's arrival reader hands out each recovered group as it lands. At that moment the next group it holds is the first one the narrow max kept, so the recovered group's reach looks bounded by that much later group and it passes as fresh, even when the widened max already expired it.
js/net/src/lite/widened_max_age.test.ts (a widened reader gets what was skipped on moq-lite-07-wip) pins this. Groups 0 to 9 are one per second, the reader widens from 2.5 s to 6.5 s, and it gets groups 0 to 5, where Rust's widened_max_age::a_widened_reader_gets_what_was_skipped gets 2 to 5. Rust's sim lands the recovery's groups together, so its reader judges group 0 with group 1 already held. Over a real network Rust may hand them out the same way.
Options
- Hold a recovered group's staleness verdict until the keys just above it are accounted for, as
TrackState::join_startwaits for given-up keys before passing a stale group. - Have the recovery carry the reader's max (a
Joinedrange), so the publisher judges and names the expired groups inSUBSCRIBE_OLDagain.
Done
The JS test asserts groups 2 to 5 for lite-07, and a Rust test drives the recovery's groups landing one at a time.
Found in https://github.com/moq-dev/moq/pull/10307.
(Written by Claude Opus 5.5 with high)
- Lenguaje dominante
- Rust
- Estrellas
- 1.6k
- Forks
- 251
- Merge medio
- 10 h 10 min
- PR fusionados (30 d)
- 822
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 moq-dev/moq
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
moq-dev/moq#10463 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
moq-dev/moq#10460 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
quest
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
moq-dev/moq#10373 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
quest
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
moq-dev/moq#10336 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de moq-dev/moq
Issues similares
-
Test connection's password prompt says the password is never saved, also for a keychain profileAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area: settings bug Haiku review: no-score ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MMFoundation/WallpaperMachine#346 ·
Los mantenedores suelen responder en 1 día
-
Make the HTTP server's keep-alive and headers timeouts configurablePosiblemente ocupada @mattgodbolt la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
compiler-explorer/compiler-explorer#9902 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día