Repository navigation
Description
Summary
A proxy-warming node with max_blob_size_mb smaller than a blob commits to serving ranges past its ceiling, then fails each one in the encoder. The client sees only frame read failed: frame I/O error: early eof, classifies it as a Source fault, and sends the same range back to the same proxy. On testnet this hits every blob over 8 GiB routed through lon1 or fra1, and it set the finish time of an SDXL bundle pull.
Evidence (testnet, 2026-09-30, CLI ef4bb891)
decdn bundle pull --hash 4621f13e…54ed (stabilityai/stable-diffusion-xl-base-1.0, 76.9 GB). The run completed with 0 failed in 1339 s. Two of its files are 9.56 GiB (5a7fddce…, dc410254…).
Node side, lon1, serve_stream for 5a7fddce… at byte_offset=10154475520 byte_len=10420224. It failed three times, each within 58–432 ms (traces 6d040109bf1b188807fc40c947df84b3, f0de46400a3de0556f36f252fff3c061, e3db96d2301f385e118baf06fc4d8aeb):
coherent range encode failed: Io(Custom { kind: Other, error: "upstream pull failed before supplying outboard node TreeNode(8388607): received 10154475520 bytes, crossing the 8589934592-byte size ceiling (BlobTooLarge)" })
8589934592 is 8192 MiB. The default is 50 GB capped to cache_size_mb (lon1's cache limit is 148 GB), so lon1 and fra1 must set max_blob_size_mb = 8192 explicitly.
Client side. There were 25 early eof lane faults, all on the two 9.56 GiB files and all on lon1 (0x797e…) or fra1 (0xa43d…). Each had landed=0, and the client re-sent the same range to the same proxy:
19:38:04.505 provider=0x797e… hash=dc410254… offset=8954216448 len=1720320 landed=0 fault=Source error=frame read failed: frame I/O error: early eof
19:38:27.880 provider=0x797e… hash=dc410254… offset=8954216448 len=1720320 landed=0 …
19:38:32.048 provider=0x797e… hash=dc410254… offset=8954216448 len=1720320 landed=0 …
19:38:40.011 provider=0x797e… hash=5a7fddce… offset=10154475520 len=10420224 landed=0 …
19:38:42.147 provider=0x797e… hash=5a7fddce… offset=10154475520 len=10420224 landed=0 …
19:38:50.932 provider=0x797e… hash=5a7fddce… offset=10154475520 len=10420224 landed=0 …
The two files finished last (19:39:48 and 19:41:38), after 8 minutes of this churn from 19:31.
A second SDXL pull of the same bundle (20:38–21:13) had no early eof faults, so the client didn't route the over-8-GiB ranges through lon1 or fra1 that time. It hits whenever proxy-warming picks one of them for an over-8-GiB range.
Fleet. decdn_node_pull_too_large_total over 7 days: fra1 171, lon1 39, 0 elsewhere.
Why it happens
- The proxy doesn't refuse up front. Per Node-to-node size-claim gate lets a holder centralize traffic (refuse-on-claim → refuse-on-received-bytes) #1895 the ceiling binds on received bytes, not on the upstream's claimed size (
crates/node/src/handlers/client/window.rs~L709–715). That was to stop a holder centralizing traffic with an inflated claim. But the requestedbyte_offset + byte_lenis the requester's own parameter, not an untrusted claim, and here it already crosses the ceiling. The node signsok: trueanyway and fails inserve_encoder.rs~L408. - The error counts the range start as received.
received 10154475520 bytesis the range offset. The node pulled almost nothing. - The client can't tell this apart from a flaky source. The wire has
StreamError::BlobTooLargefor exactly this ("try another node, but do not retry this one for the same blob",crates/protocol/src/client.rs~L1090). Here the client gets a bare stream close instead, so it keeps the proxy in rotation for that item. - Proxy selection ignores the ceiling. The client chose lon1 and fra1 as "nearer non-holders" for blobs larger than their ceiling.
Proposed
- Node: when
byte_offset + byte_len(or the whole-blob size for(0, 0)) exceeds this node's ceiling on a miss that needs pull-through, refuse before commit withBlobTooLarge, the same as the local-admission path. - Client: on
BlobTooLargefrom a proxy, drop that proxy for the item and fall back to the holder (ADR 037 "falling back to the holder if it declines"). - Ops: decide whether lon1 and fra1 still need
max_blob_size_mb = 8192(fra1's cache limit is 44 GB).
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
altanoruc commentedon Oct 1, 2026
Also hits gpt-oss-20b, and the client re-sent one range to fra1 13 times over 13.5 min (2026-10-01, CLI
ef4bb891)This is from a 24-run batch (2026-09-30 21:27 → 2026-10-01 05:01 UTC, VPN off, all runs
rc=0). The ceiling is not limited to SDXL. It also hits the 12.81 GiB file of gpt-oss-20b (baa10b83…).Run 21 (gpt-oss-20b). 13
early eoflane faults, all from fra1 (0xa43d…), all onbaa10b83…, alllanded=0:The gaps grow (2 s → 61 s), so the cooldown backs off. It never stops choosing fra1 for this blob, though. The file finished at 8.73 MiB/s (12.81 GiB in 1068.3 s, 3.70 GiB spliced).
Other over-ceiling hits in the batch, all on the 9.56 GiB SDXL file
dc410254…: fra1 in run 13 (02:19:20) and run 19 (03:30:10), and lon1 in run 23 (04:41:32). 16 of the batch's 17early eoffaults are on blobs over 8 GiB through fra1 or lon1. The 17th is hel1 on a 188.79 MiB blob (48cc62e3…, run 23, 04:17:19), so it is not the ceiling.So the "client retries the same proxy" half of this issue still holds. A
BlobTooLargerefusal, or the client counting a repeatedlanded=0EOF against a blob-provider pair, would have saved ~13 min of re-tries in run 21.🤖 Generated with Claude Code
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…