moq-net: a group created after its drop reaches a publisher's readers but never a relay's
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
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- networking
Direzione di ricerca
Start with the parity model in rs/moq-net/tests/integration/publisher_accounting.rs, especially the parity module and History::recreates, then trace how Requests::drop_groups and SUBSCRIBE_DROP handle a fill that is answered with a drop. Reproduce the listed histories and compare direct readers with one and two relay links. The issue needs a decision on whether to document the behavior or change the lite-07 wire protocol; completion means settling that choice and updating the parity coverage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found by the cache-parity kio::model sweep in https://github.com/moq-dev/moq/pull/10446 (rs/moq-net/tests/integration/publisher_accounting.rs, parity module), which reads a publisher's track directly and through relay copies and requires both to match.
Divergence: a group the publisher creates after a reader's fill for its key was answered with a drop reaches readers of the publisher's own track, but never a relay's readers.
Shortest histories (steps before | run before the readers subscribe from key 0, the rest after; direct is 0 links, relay is 1 or 2):
[Append(0), DropGroups(1..2)] | [Append(1), Finish]: direct arrival reader gets groups 0 and 1; relay arrival readers get only group 0.[Create(2), <fill handler dropping every fill>] | [Create(0)]: direct arrival reader gets groups 0 and 2; relay arrival readers get only group 2.[DropGroups(1..2)] | [Create(1), Finish](writer handle held): direct arrival reader gets group 1; relay arrival readers never do.
The draft makes SUBSCRIBE_DROP final on its subscription and has a reader still owed the group ask on a request of its own. A relay reader whose own fill was answered with a drop settles the key, and nothing tells the relay that the publisher created it later, while a local reader of the publisher's track sees the group land.
Options:
- Accept and document: a group created after its drop reaches only readers that hadn't settled its key yet.
Requests::drop_groupsandSUBSCRIBE_DROPalready describe a drop as the publisher having no copy, so creating the group afterwards is unusual. No wire change. - Make the wire carry it: let a publisher deliver a group stream for a start it already named in
SUBSCRIBE_DROP, or keep a fill's drop open until the end. This is a lite-07 wire change, so it has to land before the freeze.
The parity model leaves these histories out (History::recreates) until this is settled.
(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