Skip to content

client: a partial holder that refuses NotFound inside its advertised coverage is asked again every 3 s (follow-up to #2262) #2281

Closed

Description

@yigitdot

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.rs record_not_found: for a probed_holder, a refusal counts only when uncovered && 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 NotFound for a range inside a probed holder's coverage too. After ABSENT_AFTER_NOT_FOUND answers 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 1b9b95e9 while lon1 store did not.
  • Test: a SourceSet with one partial holder whose advertised coverage includes block k, a scripted NotFound for 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

Activity

  1. added
    kind:bug
    prio:medium
    rust
    area:cli
    on Oct 1, 2026
  2. altanoruc commented on Oct 2, 2026

    @altanoruc
    Contributor

    Still reproducing: 34-run overnight batch (2026-10-01 20:57 → 2026-10-02 07:02 UTC, CLI 2e1a93c5, VPN off)

    34 decdn bundle pull runs from one client. 32 had rc=0; the 2 failures are unrelated (pool funding, #2288). 133 lane faults were delivery refused: NotFound with uncovered=false, so each was a refusal inside the holder's advertised coverage. All had landed=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:

    run blob refusals span (UTC) entry result
    b3/21 44711b24… (2.59 GiB) 13 04:22:10 → 04:23:45 489.5 s, 762 MiB downloaded at 1.56 MiB/s
    b3/3 858a7e86… 6 23:01:13 → 23:01:42
    b3/21 7b910d7a… 5 04:20:41 → 04:21:01

    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:

    • In two separate SDXL runs, hel1 refused 7 of the same 10 blobs.
    • It refused Whisper blobs in all 5 Whisper runs (3–7 per run).

    So these are stable gaps in hel1's coverage, not cache churn. #2263 does not mark the holder absent here, because record_not_found returns early for a probed holder when !uncovered. Code on origin/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.

  3. altanoruc commented on Oct 2, 2026

    @altanoruc
    Contributor

    Unchanged on 41b6830d (2026-10-02, 2 SDXL runs)

    run NotFound total hel1 hel1 inside coverage (uncovered=false) worst blob
    2 (08:42–09:06 UTC) 44 43 42 5aee6bda…: 14 refusals, 08:50:32 → 08:53:04
    5 (09:34–10:08 UTC) 16 14 8 ace4fdd0…: 5

    5aee6bda… (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.

  4. altanoruc commented on Oct 2, 2026

    @altanoruc
    Contributor

    Unchanged on c2fae664, and it also happens in the Whisper bundle

    2026-10-02, the same client, VPN off for both runs below.

    run (UTC) bundle NotFound total hel1 0xEE08… hel1 inside coverage (uncovered=false) worst blob
    3 (12:09–12:54) SDXL 19 13 12 e87a4e60…: 4 refusals, 12:09:31 → 12:09:54
    6 (13:14–13:31) Whisper large-v3 19 17 17 a2d1fe68… (4.6 GiB): 16 refusals, 13:17:17 → 13:19:29

    In 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

  5. altanoruc commented on Oct 3, 2026

    @altanoruc
    Contributor

    Still happens on 7f938e6b: 305 of 308 hel1 refusals in a 20-run batch were inside coverage

    2026-10-03, 11:02–15:41 UTC, the same client, 20 bundle pull runs, all rc=0, 834 GB in total.

    hel1 (0xEE08…) refused 308 times with delivery refused: NotFound. 305 of them had uncovered=false. The other providers refused NotFound 18 times in total (fra1 6, lon1 6, nbg1 4, ash1 2).

    bundle runs hel1 refusals (inside coverage)
    SDXL 3, 7, 10, 12, 13, 16, 17 73 (69), 13 (12), 40 (40), 23 (22), 62 (62), 5 (5), 34 (34)
    Whisper large-v3 8, 9, 18 8, 23, 26 (all inside)
    gpt-oss-20b 5 1 (inside)
    Mistral, Qwen 1, 2, 4, 6, 11, 14, 15, 19, 20 0

    hel1 was asked for the same blob again for minutes, as before:

    run blob refusals span (UTC)
    13 89bdeffb… 30 13:50:42 → 13:53:04
    3 e0a583ab… 20 11:35:10 → 11:38:21
    18 9c7db448… 20 15:18:18 → 15:21:11
    3 / 10 44711b24… 19 / 19 11:26:03 → 11:27:34 / 13:05:28 → 13:06:56
    9 a2d1fe68… 16 12:56:10 → 12:58:28

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clikind:bugprio:mediumrust

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions