Skip to content

fix(node): bonded non-holders refuse a pull-through serve with NotFound instead of filling from origin #2329

Closed

Description

@yigitdot

What happened

When no answering node holds a blob, the CLI starts the fetch on bonded non-holders and expects them to fill the miss from their own origin:

INFO decdn_cli::commands::fetch: no node that has answered holds the blob in cache; starting on 3 reachable bonded non-holder(s) as pull-through serve targets — a node serves an authorized miss from its own origin (#1911), and a holder that answers later joins the fetch

Many of those nodes refused with NotFound instead. The bundles were pulled with --namespace 1.

Whisper large-v3 (3 refusals, 08:47:32–08:47:33Z):

lane faulted provider=0xa43dbB7C… hash=260a5c42… offset=0      len=524288 fault=Source error=delivery refused: NotFound
lane faulted provider=0x6B8236A7… hash=260a5c42… offset=524288 len=512270 fault=Source error=delivery refused: NotFound   (nbg1)
lane faulted provider=0xEE08B2f6… hash=260a5c42… offset=0      len=524288 fault=Source error=delivery refused: NotFound   (hel1)

SDXL base 1.0 (13 refusals, 08:58:06–09:04:58Z): 10 from hel1 (0xEE08…8B6d), 2 from 0x797e…c716, 1 from 0xa43d…fdCe. Example:

09:00:09 lane faulted provider=0x797e18ae… hash=11e20da0… offset=3288334336 len=1846815424 uncovered=true fault=Source error=delivery refused: NotFound

Impact

Each refusal costs a round trip and narrows the fetch to the remaining lanes. The 1 MiB blob 260a5c42… took 7.1 s (142 KiB/s). Every file completed.

To check

Whether these nodes have origin access for namespace 1, and whether NotFound is the right answer when they do not. If a node has no authorized origin for the namespace, the CLI should not count it as a pull-through target.

Evidence

Testnet run, 2026-10-06.

Activity

  1. added
    kind:bug
    area:node
    on Oct 6, 2026
  2. self-assigned this
    on Oct 6, 2026
  3. altanoruc commented on Oct 6, 2026

    @altanoruc
    Contributor

    The same refusal on a Qwen config file: 51 refusals from 4 nodes, 11 KiB in 160 s

    Testnet, 2026-10-06 20:55–20:58 UTC. CLI cb69f6f9. The fleet is on the 2026-10-05 05:06 UTC build. decdn bundle pull of qwen2.5-7b-instruct (6e9b67de…).

    What happened

    Blob 5ce7b3f9d40107ec7977f3e7c2c521f0e2de8b29b7bee649e91b831943ccb1dc (11,343 bytes) is one of the small files in the Qwen bundle. No node answered the probe as a holder, so the CLI started the fetch on bonded non-holders (starting on 3 reachable bonded non-holder(s) as pull-through serve targets at 20:55:41, and again with 4 at 20:55:52).

    Every one of them refused every request:

    node client a lane faulted … NotFound node serve-miss: refusing the request
    ash1 33 33
    fra1 7 7
    hil1 7 7
    hel1 4 4

    All 51 node lines are reason=cache_miss path=pull_leg_miss cause=clean_miss, byte_offset=0 byte_len=11343. So every node's pull leg walked its upstream candidates and found none that would serve it. ash1 refused at intervals of about 2.5 to 4.5 s from 20:55:42 to 20:58:13.

    20:55:41.86 a lane faulted provider=0xa43d… (fra1) hash=5ce7b3f9… offset=0 len=11343 landed=0 past_end=false uncovered=false error=delivery refused: NotFound
    20:55:42.18 a lane faulted provider=0xEE08… (hel1) … NotFound
    20:55:42.63 a lane faulted provider=0xDb0E… (ash1) … NotFound
    …
    20:58:13.56 a lane faulted provider=0xDb0E… (ash1) … NotFound
    20:58:21.53 bundle pull: 5ce7b3f9…: 11.08 KiB in 160.3s (70 B/s)
    

    In between, the client logged a queued range waits for a stream … refused=0 no_candidate=1 for this blob every ~30 s. waited_secs climbed to 80 and then reset to 3 at 20:57:50.

    Change from the previous batches

    The same blob took 0.3 to 0.5 s in all 10 Qwen runs of the 2026-10-03 and 2026-10-05 batches (CLI 7f938e6b and 5f5605df, the latter on the same fleet build), with no NotFound refusals for it. This time no node held it, and pull-through could not fill it.

    Two parts

    1. Node (this issue). Four bonded non-holders took the pull-through target role and answered NotFound with pull_leg_miss/clean_miss, 51 times. The question in the body is still open: whether a non-holder with no upstream that will serve the blob should be a pull-through target at all.
    2. Client. ABSENT_AFTER_NOT_FOUND is 3: a provider that is not a probed holder counts as absent after 3 NotFound answers with no verified byte between them (crates/client/src/source_set.rs record_not_found). ash1 delivered no byte of this blob but was asked 33 times in 152 s. Something resets the count or the absent mark, perhaps a fresh SourceSet per fetch round, given the waited_secs reset at 20:57:50. I have not traced it.

    The file is small, so the run still finished. It costs time when such a file is the last one left. It also repeats per run, and node logs show it as a steady stream of refusals.

    Evidence

    • Client log: run 6 of batch pulls9 (the CLI's -v log).
    • Loki: sum by (instance, path, cause) (count_over_time({service_name="decdn-node"} |= "5ce7b3f9d40107ec" | json path="fields.path", cause="fields.cause" [6m])) at 21:00:00Z.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:nodekind:bug

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions