Repository navigation
Description
Follow-up to #2329, which #2345 closed.
Summary
#2345 says it fixes the pull_leg_miss refusals from #2329. Those refusals still happen on a fleet that runs #2345. The refusal lines now carry cause, and every one of them says clean_miss. So the pull leg found no reachable provider, or every candidate declined. A probe that timed out is not the cause any more.
Most refusals came from hel1 during one SDXL pull, on blobs the client was partly splicing from disk (range-dedup complements).
Setup
- Testnet, 2026-10-07 17:07–18:26 UTC: 7
decdn bundle pullruns from decdn.org/models.json. CLIf8f906a6. All runs rc=0. - Fleet: ansible redeployed main
64e4e884at 11:04–11:06 UTC (see bundle pull: a 1.15 GiB leg on a 0.5 MiB/s lon1 lane runs alone for 35 min while every other lane is idle (SDXL, 2 of 2 runs) #2348). That build contains fix(client,node): keep an answered probe when the direct-path wait outruns the timeout #2345 (cdf8ece3). The fleet restarted again at 17:21:38–41 UTC, in the middle of run 2. I don't know which build that restart deployed: the startup banner reportsversion: 0.0.0.
Node side
{service_name="decdn-node"} |= "serve-miss", 17:07–18:27 UTC:
| node | path=pull_leg_miss, cause=clean_miss |
path=coverage_gate |
|---|---|---|
| hel1 | 37 | 2 |
| fra1 | 8 | 0 |
| hil1 | 5 | 0 |
| ash1 | 1 | 1 |
| nbg1 | 0 | 1 |
hel1 logged 29 of its 37 in the SDXL run, between 17:43:50 and 17:49:47:
| blob | refusals | result on the client |
|---|---|---|
5aee6bda… |
15 | 6.46 GiB in 282 s (1.13 GiB downloaded at 4.09 MiB/s, 5.34 GiB spliced from disk) |
8662f4f4… |
7 | 469.77 MiB in 45.4 s (253.58 MiB downloaded at 5.58 MiB/s, 216.19 MiB spliced) |
301f835b… |
5 | 188.92 MiB in 57.7 s (139.23 MiB downloaded at 2.41 MiB/s, 49.69 MiB spliced) |
4db7eb10… |
2 | 2.59 GiB in 344.4 s |
Example:
17:45:24.315 hel1 INFO serve-miss: refusing the request hash=8662f4f4… byte_offset=268435456 byte_len=17825792 reason=cache_miss path=pull_leg_miss cause=clean_miss
Client side
The client sent these ranges to hel1 as a pull-through target: probed_holder=false coverage=whole blob. It asked the same range again after each refusal until the third one:
17:45:35 a lane faulted provider=0xEE08B2f6… hash=8662f4f4… offset=268435456 len=17825792 landed=0 uncovered=false probed_holder=false coverage=whole blob error=delivery refused: NotFound
17:45:39 … same range, NotFound
17:45:42 … offset=338591744 len=4390912, NotFound (third refusal of that range)
17:49:31 a node refuses a lane's extra streams; the lane is asked less often until one serves provider=0xEE08B2f6… hash=5aee6bda… refusals=3
The CLI started pull-through on bonded non-holders 8 times in the SDXL run, for example starting on 3 reachable bonded non-holder(s) as pull-through serve targets at 17:43:33 and 17:43:49.
Every one of these blobs completed within minutes from other lanes, so other nodes could serve the refused ranges. hel1's pull leg still found no provider that would serve them. The client runs at -v and doesn't log which provider served each range (#2332), so I can't name the nodes that did.
Refusals right after the restart
fra1 and hil1 refused 11 times (client side) on Qwen 8f9644e7… between 17:21:50 and 17:22:30, 11–51 s after the fleet restart. Those can be a node that had only just started. I list them separately from hel1's refusals, which came 22 minutes after the restart.
Impact
Small in this batch. Each refusal costs about 2.5 s before the range goes to another lane, and every file completed. SDXL took 1488 s, the fastest of the recent runs. But these are the same bonded non-holders that are supposed to fill a miss through pull-through (#1911). When they refuse, a blob that only one node holds narrows to that one node.
To check
- Which candidates hel1's pull leg ranked for
8662f4f4…at 17:45:24, and whether each one was unreachable or declined. At info level the refusal line logs neither. - Whether the refused ranges were inside the coverage of the candidates hel1 knew about. These were complement ranges of blobs that other nodes held only in part.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsBacklog
Activity
altanoruc commentedon Oct 18, 2026
Still reproduces on v0.1.0 (538bf31), at a low rate.
Setup. A 23-run pull batch, 2026-10-18 09:45–14:20 UTC. Client and fleet both on v0.1.0; Tempo
serve_streamspans reportservice.version=0.1.0on every node. Bundles: Mistral, SDXL, Whisper large-v3, librispeech, plus ISO and video items. Every run exited rc=0.Node side.
serve-misslines withpath=pull_leg_miss,cause=clean_missin the window:decdn_node_pull_attempts_totalincreasedecdn_node_pull_no_providers_totalincrease89bdeffb…(SDXL)31d02d58…(Whisper)a2d1fe68…(Whisper)5aee6bda…(SDXL)No other node logged
pull_leg_miss. The other 49serve-misslines in the window arepath=coverage_gate, which is by design (ADR 039).Client side. The client sees each of these as
delivery refused: NotFound,uncovered=false,probed_holder=false,coverage=whole blob. For example, hel1 refused89bdeffb3 times in one SDXL run (11:25:39, 11:26:25 and 11:28:02 UTC) and once more in a later SDXL run (13:02:40). Each refusal costs one lane retry. No pull failed.Compared with earlier batches. By refusals per pull attempt, hel1's rate is 13/293 (4.4%) and fra1's is 3/834 (0.4%). On cdd1db5 the fleet had 0/290 (2026-10-08). On 64e4e88 it had 51/181 (2026-10-07). The rate tracks which complements the fleet has cached, so verifying a fix still needs a blob the fleet has not cached.
thiras commentedon Oct 18, 2026
Cross-referencing the 13 hel1 refusals from the 2026-10-18 batch against the per-minute counters and the Tempo spans splits them into three mechanisms:
decdn_node_pull_unreachable_totalby one; the 12:18:39 triple is three concurrent serves whose probes failed at the same instant. bcl was serving hel1 legs of the same blob throughout (Temposerve_stream,peer=6dfd6f…). hel1'sdecdn_probe_collection_latency_secondsfor the day: 25 rounds ≤ 0.25 s, 50 ≤ 0.5 s, 156 ≤ 1 s, so 106 of 156 rounds overran the 500 msPROBE_TIMEOUT. A probe is two RTTs on a fresh dial, whichselection.rsalready names as the term to revisit.89bdeffb…)decdn_node_pull_no_providers_total+4 in those minutes; the staker set stayed 9,decdn_origin_directory_get_origins_failures_total0, no deny-list or watcher lines. The directory returned nothing, which a namespace-0 request does by construction. The refusal line does not log the namespace, so this is unproven.has_blob: false, or a probe dropped without a counter, fit.PR #2533:
pull_leg_missrefusal line records the walk (source,discovered,skipped,probed,unreachable,absent,dropped,holders,spans,handshakes,last_fault) and every refusal line carriesnamespace_id, so the next batch names mechanisms B and C;PROBE_TIMEOUTis 1 s, which fixes A.Side finding, filed as #2532: every
dht_lookupspan sampled on hel1 for89bdeffb…ran exactly 8.00 s (aborted_peers=1), anddecdn_staker_set_active_countis 9 on every node while 8 are live. A third of the fleet's lookups wait the full round timeout.fix(node): count a skipped peer once per walk and holders after the r…
fix(node): name the walk on a pull_leg_miss refusal and give the upst…
thiras commentedon Nov 10, 2026
Status on
main(ee1d12d):PROBE_TIMEOUTto 1 s (crates/node/src/selection.rs:41) and addedPullLegTrail(node_origin/pull_leg.rs:606), which names the walk on apull_leg_missrefusal.requester: Optionatnode_origin/mod.rs:1183).