Ordered HLS segment reads exceed kio’s ready-poll limit in a lite-07 simulation

Open
#10,424 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by checking the reported simulation against current upstream main, then trace the stack from track::Consumer::poll_complete through export::segments::Consumer::poll_peek. Isolate whether one ordered drain or multiple ready segment reads exhaust the task budget, and add a controlled-clock regression at that layer. Done means the read delivers the same segment and returns control to the executor during a long drain.

Written by the indexing model from the issue text.

Description

quest

An existing Linux simulation of a two-relay mesh with lite-07-wip publishers reproducibly hits kio Ready poll limit exceeded during an HLS segment size read. The simulation's billing checks never get an outcome from that case. The other cases completed.

Observed on upstream 8572a2bda7. The first panic is in track::Consumer::poll_complete. The same simulator task subsequently trips the limit in Routes::poll_next.

track::Consumer::poll_complete
resume::copy_failed
resume::Reader::window
resume::Subscriber::ranges
track::Subscriber::settle_record
track::Subscriber::poll_drop_probing
track::Ordered::find_gap
track::Ordered::poll_next_item
export::rendition::Span::poll_group
export::rendition::Fetch::poll_groups
export::rendition::Fetch::poll_size
export::segments::Consumer::poll_peek

Check the case against current upstream main. If it persists, isolate whether one ordered drain or multiple ready segment reads exhaust the task budget, then add a controlled-clock regression at that layer. The successful read should deliver the same segment and return control to the executor during a long drain.

(Written by GPT-6.2 Astra with xhigh)

Dominant language
Rust
Stars
1.6k
Forks
251
Avg merge
10h 10m
Merged PRs (30d)
822

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from moq-dev/moq

All issues in moq-dev/moq

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.