Skip to content

node: hel1 refuses NotFound inside its advertised coverage for range after range of the same blob; the coverage gate shows it holds none of them (follow-up to #2281) #2339

Closed

Description

@altanoruc

Summary

hel1 keeps refusing NotFound for ranges inside the coverage it advertises. #2305 stopped the client from re-asking for the same range every 3 s (#2281). The client now asks hel1 for the next range of the same blob, and hel1 refuses that too. hel1's own coverage-gate log shows that it does not hold these ranges locally, and that none of its 2–3 upstream candidates covers them either. So hel1's advertised coverage is wider than what it can serve.

The same blobs are refused in run after run, about two hours apart, so hel1 never fills them.

Evidence (testnet, 2026-10-05 19:53 – 2026-10-06 00:32 UTC)

Client: CLI at 5f5605df (includes #2305). 20 bundle pull runs from decdn.org/models.json, all rc=0, 802.6 GB.
Fleet: every node last restarted at 2026-10-05 05:06 UTC (deCDN node starting), so it runs b37bbc4a or earlier. #2312–#2322 are not deployed, #2314's logging included.

The client logged 233 a lane faulted lines. 215 were hel1 (0xEE08B2f6…), and 210 of those were delivery refused: NotFound with uncovered=false. Each refusal asks for a different offset:

run 3, hash 44711b24…  (hel1, all uncovered=false)
20:23:52 off=423231488  len=3489792
20:23:58 off=435437568  len=4063232
20:24:09 off=564150272  len=13860864
20:24:14 off=590741504  len=5210112
… 18 refusals of 18 distinct ranges by 20:25:58

hel1 refusals by blob. The same hashes come back across runs:

run bundle hel1 refusals by blob
3 SDXL 44711b24 18, 5aee6bda 11, 8662f4f4 7, d4b89247 4, 7b910d7a 4, …
4 SDXL 5aee6bda 26, 89bdeffb 7, 858a7e86 4, 301f835b 3, …
5 SDXL 44711b24 12, …
6 gpt-oss baa10b83 26
8 Whisper a2d1fe68 31, 31d02d58 2
12 SDXL 5aee6bda 20, 44711b24 12, 858a7e86 4, …

hel1 node logs

hel1 logged serve-miss: no candidate covers part of the missing range; refusing before commit (handlers::client::window) 55 times in the batch window. The lines match the client's refusals one to one. For example, run 6, baa10b83…:

hel1   22:04:21.783  pull_offset=1366196224 pull_len=35061760 candidates=2 first_uncovered_chunk=…
client 22:04:21      provider=0xEE08B2f6 hash=baa10b83 offset=1366196224 len=35061760 uncovered=false fault=Source error=delivery refused: NotFound
hel1   22:04:27.003  pull_offset=1472315392 pull_len=35553280 candidates=2
client 22:04:27      … offset=1472315392 len=35553280 uncovered=false …

So the client counts these ranges as inside hel1's coverage, but hel1 has to pull them from upstream and refuses at the coverage gate.

The other ~155 refusals have no hel1 log line at all. These include every refusal of 44711b24, 5aee6bda and 8662f4f4. They went through a serve-miss exit that only logs at info after #2314, and the fleet doesn't run #2314 yet.

Impact

None of the pulls failed. Each refusal briefly takes a lane slot, and while hel1 is refused, other lanes carry the blob's tail. Run 3 (SDXL, 2372 s) had bcl as its only source for about 20 min. Other SDXL runs in the batch took 1032–2058 s.

Next step

Redeploy the fleet to a commit that includes #2314, then rerun the batch. Then the path field shows which exit the other ~155 refusals take. Questions to answer:

  • Where does hel1's advertised coverage come from for these blobs? Does it cover ranges hel1 has evicted, or ranges it has never filled?
  • Should the client stop asking a holder for a blob after N inside-coverage refusals of distinct ranges? ABSENT_AFTER_NOT_FOUND currently applies only outside coverage.

Follow-up to #2281 (closed by #2305) and #2262.

Activity

  1. added
    kind:bug
    prio:medium
    rust
    area:node
    on Oct 6, 2026
  2. assigned and unassigned on Oct 6, 2026
  3. thiras commented on Oct 6, 2026

    @thiras
    Contributor

    Closing as fixed by #2345, which is now deployed. The fleet runs 4d0a9db2, the same tree as cdf8ece3, since 2026-10-06 20:52 UTC.

    Cause

    hel1 never refused ranges inside coverage it advertised.

    • A probe advertises only 64 MiB blocks the node holds completely (covered_blocks, crates/cache/src/engine.rs). Any range inside such a block is served from the store and never reaches serve-miss.
    • uncovered=false does not mean "inside coverage". The scheduler gives a lane with no measured coverage the whole blob. That is a pinned holder, or a proxy / pull-through target. On those lanes uncovered is always false. hel1's lanes here were proxy lanes (coverage=whole blob probed_holder=false).
    • Both kinds of refusal had the fix(node): bonded non-holders refuse a pull-through serve with NotFound instead of filling from origin #2329 signature: hel1's 500 ms upstream probe dropped bcl, the only full holder.
      • With bcl dropped and only partial holders left, the coverage gate refused: the 55 candidates=2 lines.
      • With no candidate left at all, the request ended in pull_leg_miss: the unlogged ~155.

    Rerun on the deployed fix

    Run on 2026-10-06 21:10–21:51 UTC, CLI on the same tree.

    Bundle Result hel1 refusals
    SDXL 29m12s, 0 failed, 45.7 GB downloaded → 76.9 GB reconstructed 1: a 336 KB range of 503f0183… 5 s in, pull_leg_miss/clean_miss
    gpt-oss stopped by hand at 41 GB, in the bcl-only tail 0. hel1 served 7 legs, including 2 on baa10b83… (26 refusals in run 6 above)

    Each remaining refusal fleet-wide in that window matches one decdn_node_pull_unreachable_total increment:

    • hel1: +1.
    • fra1: +6, all coverage_gate candidates=2 refusals for another client (pool 0xdb5db1…) at 21:26:41–44.

    Single upstream probe misses still happen at a low rate. If they grow, the next lever is ADR 001's PROBE_TIMEOUT.

    On the second question in the issue: no new client rule is needed. The client already drops a partial holder's block after 3 refusals inside its claimed coverage. A non-holder is marked absent after 3 NotFounds with no verified byte between them.

    #2346 adds probed_holder and coverage to the client's a lane faulted line, so this misreading of uncovered=false does not recur.

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

Metadata

Metadata

Assignees

Labels

area:nodekind: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