net: a widened lite-07 reader takes recovered groups its new max already expired
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, rust
- Ambito
- distributed-systems, networking
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- Rust
- Stelle
- 1.6k
- Fork
- 251
- Merge medio
- 10h 10m
- PR unite (30g)
- 822
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di moq-dev/moq
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
moq-dev/moq#10463 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
moq-dev/moq#10460 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
quest
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
moq-dev/moq#10373 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
quest
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
moq-dev/moq#10336 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Test connection's password prompt says the password is never saved, also for a keychain profileApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area: settings bug Haiku review: no-score ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MMFoundation/WallpaperMachine#346 ·
I maintainer di solito rispondono entro 1 giorno
-
Make the HTTP server's keep-alive and headers timeouts configurableForse già presa @mattgodbolt l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
compiler-explorer/compiler-explorer#9902 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno