moq-net: a finished track's arrival reader holds back a group created below its end

Abierto
#10,455 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

Start with rs/moq-net/tests/integration/publisher_accounting.rs, especially the parity module and parity::History::step; read cold_copies_read_as_the_source and the rule that excludes Create after Finish. Remove that exclusion and run the named test. Done when the direct publisher and relay arrival readers agree on when group 2 is returned, while the ordered-reader behavior and release history still pass.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Divergence: an arrival reader (Subscriber::recv_group) subscribed to a track that already finished doesn't return a group created below the end after it subscribed. It returns the group only once the keys still owed below it settle. A relay's arrival reader returns the same group as soon as it lands.

Shortest history (writer handle held, so key 1 stays owed): [Create(2), Finish] | [Create(0)].

  • Direct (reading the publisher's track): ordered group 0, then pending; arrival group 2, then pending.
  • One or two relay hops: ordered group 0, then pending; arrival group 0, group 2, then pending.

With Release added after Create(0), every path reads group 0, group 2, end, so only when the reader gets the group differs, not which groups it gets.

Steps to reproduce: in parity::History::step, remove the exclusion that disables Create after Finish and run cold_copies_read_as_the_source.

(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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de moq-dev/moq

Todos los issues de moq-dev/moq

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.