Repository navigation
Description
Summary
When a chunk is covered by no running lane, the client sends it to any lane to serve by pull-through (scheduler.rs uncovered). A partial holder whose own upstream candidates do not cover that chunk refuses it before commit with NotFound. The client never stops asking it. A partial holder has probed_holder = true (cli_sources.rs:478, coverage.is_some()), and record_not_found (source_set.rs:393) returns early for probed holders, so the refusals never mark it absent. Each refusal costs a round trip and sends the remainder to waits for a busy lane.
In a 24-run batch, hel1 refused one blob 47 times over 18.6 min in one run, and 56 times over 16.5 min in another.
Evidence (testnet, 2026-09-30 21:27 → 2026-10-01 05:01 UTC, CLI ef4bb891, VPN off)
24 decdn bundle pull runs from one client, all rc=0. 383 of the client's 431 lane faults were delivery refused: NotFound, all with landed=0. 254 of the 383 came from hel1 (0xEE08…).
The same provider, the same blob, again and again:
| run | model | blob | provider | NotFound refusals |
span |
|---|---|---|---|---|---|
| 7 | gpt-oss-20b | baa10b83… (12.81 GiB) |
hel1 | 56 | 22:55:53 → 23:12:21 |
| 13 | SDXL | 5a7fddce… (9.56 GiB) |
hel1 | 47 | 01:59:40 → 02:18:20 |
| 10 | SDXL | 5a7fddce… |
hel1 | 30 | 01:06:44 → 01:17:54 |
| 19 | SDXL | e0a583ab… (9.56 GiB) |
hel1, fra1, lon1 | 14, 14, 13 | hel1 03:23:59 → 03:27:39 |
| 17, 18 | Mistral | 7cbb4846… |
fra1 | 7, 7 | 02:47:48 → 02:53:54, 03:00:41 → 03:02:49 |
In run 13, the refusals came every 3–7 s at first (01:59:40, :43, :50, :55, :59, 02:00:03, :06, :11, …). Each one was followed by a faulted lane's remainder waits for a busy lane … waiting=33–53. That file finished at 7.52 MiB/s (9.56 GiB in 1168.7 s).
Node side, hel1. hel1 logs these refusals at its coverage gate (window.rs:1005):
serve-miss: no candidate covers part of the missing range; refusing before commithash=5a7fddce… pull_offset=4964352000 pull_len=3155820544 candidates=3 first_uncovered_chunk=4848000
Loki count of that message over the batch window: hel1 175, ash1 3, fra1 3, lon1 1, nbg1 1. The node behaves as designed. It refuses before commit, so nothing is paid. The waste is that the client asks again. (The fra1 and lon1 rows above refused for some other NotFound reason, since fra1 logged the coverage gate only 3 times. I did not trace them.)
Why (code)
cli_sources.rs:478:probed_holder: targets.pinned || coverage.is_some(), so any partial holder counts as a probed holder.source_set.rs:393record_not_found:if self.holder(provider).is_none_or(|h| h.probed_holder) { return; }. A probed holder never reachesABSENT_AFTER_NOT_FOUND(3).scheduler.rsuncovered: "Such a chunk goes to any lane, which serves it by pull-through." So a chunk outside hel1's coverage is still offered to hel1. TheNotFoundonly cools the provider inPeerHealth, and it is chosen again once the cooldown expires.
The rule that a NotFound from a probed holder is "a delivery fault only" makes sense for a range inside that holder's advertised coverage (load shed, signer cap, unconfirmed pool). For a range outside its coverage, the request was a pull-through ask, and the answer means the same thing it means from a non-holder.
Proposed fix
When a lane faults with NotFound on a piece outside its holder's advertised coverage, count it the way a non-holder's refusal is counted. After ABSENT_AFTER_NOT_FOUND, stop sending that holder uncovered chunks of this blob. Keep sending it chunks inside its coverage. Clear the count when a rediscovery reports wider coverage or the holder serves a verified byte in that region.
A test: a SourceSet with one partial holder whose coverage misses block k, one whole holder, and a scripted NotFound for block k from the partial holder. Assert that the partial holder is never handed block k after the third refusal, and that it still serves its covered blocks.
Related
- node: partial holders pull through from each other in a loop (no requester exclusion, no hop guard) #2224 (partial holders pull through from each other). A different loop: node to node, not client to node.
- client: a leg that faults mid-pull is logged nowhere and its range waits for a busy lane (serial tail) #2230 (a faulted leg's range waits for a busy lane). Every refusal here lands in that queue.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
fix(client): keep size-ceiling and newer pull-through bars, mark only…
fix(client,node): drop the claim-bounded end gate, order pull-through…
fix(client,cli,node): let a pull-through bar expire, time out the ass…
fix(client,node,cli): bar refused pull-through, refuse over-ceiling r…