Repository navigation
Description
Summary
#2263 bars a probed partial holder from pull-through after ABSENT_AFTER_NOT_FOUND refusals for a range outside its coverage. A refusal for a range inside its coverage still counts as "a delivery fault only" (record_not_found, source_set.rs). If the holder does not actually hold that range, it refuses every time, and the client asks it again every 3 s.
Evidence (testnet, 2026-10-01, CLI built from 2e1a93c5, after #2263)
SDXL bundle pull (--hash 4621f13e…954ed --namespace 1 --jobs 5 --max-lane-streams 5), entry 1b9b95e9… (text_encoder_2/model.safetensors, 2.59 GiB).
The client logged 20 refusals from lon1 (0x797e…c716) in one minute. Every line has uncovered=false:
21:42:09 / :12 / :14 / :23 / :26 … provider=0x797e… hash=1b9b95e9… offset=248266752 len=20168704 landed=0 uncovered=false fault=Source error=delivery refused: NotFound
21:42:31 / :40 / :43 / :46 / :49 … provider=0x797e… hash=1b9b95e9… offset=1245708288 len=700448768 landed=0 uncovered=false fault=Source error=delivery refused: NotFound
each followed by: a faulted lane's remainder waits for a busy lane: no running lane could take one more stream … waiting=1
The last refusal was at 21:43:07. The entry finished at 21:49:16: 2.37 GiB downloaded at 5.63 MiB/s, 222.95 MiB spliced from disk.
lon1 logs each refusal at its coverage gate (window.rs ~L1055). So lon1 does not hold the range itself, and it tried to pull it through:
21:42:08 … 21:42:26 serve-miss: no candidate covers part of the missing range; refusing before commit hash=1b9b95e9… pull_offset=248266752 pull_len=20168704 candidates=3 first_uncovered_chunk=242448
21:42:31 / :34 / :37 same, pull_offset=1245708288 pull_len=700448768 first_uncovered_chunk=1216512
Grafana, 21:25–22:15: decdn_serve_stream_rejected_cache_miss_total lon1 +20, hel1 +34, nbg1 +9, fra1 +6. The client logged 44 NotFound lane faults in the SDXL run and 7 in the Whisper run.
Why (code)
source_set.rsrecord_not_found: for aprobed_holder, a refusal counts only whenuncovered && holder.coverage.is_some()(the fix(client,node,cli): bar refused pull-through, refuse over-ceiling ranges, heal stale under-fold, hold expiry margins #2263 bar). A refusal inside the coverage returns early, so the holder is never barred and never marked absent.- The client sees
uncovered=false, so the client coverage view says lon1 holds the range. lon1 says it does not. Either the advertised or probed coverage is stale (eviction, or a coverage record wider than the store), or the client maps the range to the wrong coverage.
Proposed
- Count a
NotFoundfor a range inside a probed holder's coverage too. AfterABSENT_AFTER_NOT_FOUNDanswers for the same blob, treat that coverage as stale: drop the holder's coverage claim for that region (or re-probe it) and stop sending it those ranges. - Find why lon1 coverage, as the client saw it, covered offsets 248266752 and 1245708288 of
1b9b95e9while lon1 store did not. - Test: a
SourceSetwith one partial holder whose advertised coverage includes block k, a scriptedNotFoundfor block k from it, and one whole holder. Assert that after the third refusal block k goes to the whole holder, and that the partial holder still serves its other covered blocks.
Related
#2262 / #2263 (the uncovered-range case), #2230 (a faulted range waits for a busy lane).
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
altanoruc commentedon Oct 2, 2026
Still reproducing: 34-run overnight batch (2026-10-01 20:57 → 2026-10-02 07:02 UTC, CLI
2e1a93c5, VPN off)34
decdn bundle pullruns from one client. 32 hadrc=0; the 2 failures are unrelated (pool funding, #2288). 133 lane faults weredelivery refused: NotFoundwithuncovered=false, so each was a refusal inside the holder's advertised coverage. All hadlanded=0. hel1 (0xEE08…8B6d) gave 108 of them: nbg1 11, lon1 7, fra1 3, ash1 3, hil1 1.The runs with the most repeats were all SDXL (
4621f13e…), all from hel1:44711b24…(2.59 GiB)858a7e86…7b910d7a…In runs b3/3 and b3/21, 39 of hel1's 46 refusals were followed by
a faulted lane's remainder waits for a busy lane … waiting=(2–85).The refusals repeat across runs:
So these are stable gaps in hel1's coverage, not cache churn. #2263 does not mark the holder absent here, because
record_not_foundreturns early for a probed holder when!uncovered. Code onorigin/main(source_set.rs~L539) is unchanged.hel1 logs nothing in Loki for these refusals at info (04:21–04:25 UTC,
|= "44711b24c5"and|~ "NotFound|refus|coverage"), which matches #2282.altanoruc commentedon Oct 2, 2026
Unchanged on
41b6830d(2026-10-02, 2 SDXL runs)uncovered=false)5aee6bda…: 14 refusals, 08:50:32 → 08:53:04ace4fdd0…: 55aee6bda…(6.46 GiB) finished in 384.3 s, downloading 1.13 GiB at 3.00 MiB/s. The same two blobs were the worst in both runs.altanoruc commentedon Oct 2, 2026
Unchanged on
c2fae664, and it also happens in the Whisper bundle2026-10-02, the same client, VPN off for both runs below.
0xEE08…uncovered=false)e87a4e60…: 4 refusals, 12:09:31 → 12:09:54a2d1fe68…(4.6 GiB): 16 refusals, 13:17:17 → 13:19:29In run 6, hel1 was asked for
a2d1fe68…again every 3–17 s for 2 min, and it refused every time inside its advertised coverage. After the last refusal, bcl served the rest of the bundle by itself. Fleet egress fell to bcl alone (~7 MB/s) from about 13:22 until the run ended at 13:31:09 (971 s).🤖 Generated with Claude Code
altanoruc commentedon Oct 3, 2026
Still happens on
7f938e6b: 305 of 308 hel1 refusals in a 20-run batch were inside coverage2026-10-03, 11:02–15:41 UTC, the same client, 20
bundle pullruns, all rc=0, 834 GB in total.hel1 (
0xEE08…) refused 308 times withdelivery refused: NotFound. 305 of them haduncovered=false. The other providers refused NotFound 18 times in total (fra1 6, lon1 6, nbg1 4, ash1 2).hel1 was asked for the same blob again for minutes, as before:
89bdeffb…e0a583ab…9c7db448…44711b24…a2d1fe68…The same
(hash, offset)was refused up to 5 times (7b910d7a…at offset 30736384). The pulls did not fail because of this, and #2304 did not change it. It costs time during the minutes when a blob would otherwise get one more lane.🤖 Generated with Claude Code
fix(client): decay covered-NotFound block drops and count extra-strea…
fix(client): keep stale-view refusals and cap-refused extras from pri…