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

オープン
#10,455 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)

主要言語
Rust
スター
1.6k
フォーク
251
平均マージ
10時間 10分
マージ済み PR(30日)
822

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

moq-dev/moq のほかの issue

moq-dev/moq の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。