Skip to content

node: bonded non-holders still refuse pull-through with NotFound (pull_leg_miss, cause=clean_miss) after #2345 (hel1 37 in one batch, mostly on SDXL complement ranges) #2366

Open

Description

@altanoruc

Follow-up to #2329, which #2345 closed.

Summary

#2345 says it fixes the pull_leg_miss refusals from #2329. Those refusals still happen on a fleet that runs #2345. The refusal lines now carry cause, and every one of them says clean_miss. So the pull leg found no reachable provider, or every candidate declined. A probe that timed out is not the cause any more.

Most refusals came from hel1 during one SDXL pull, on blobs the client was partly splicing from disk (range-dedup complements).

Setup

Node side

{service_name="decdn-node"} |= "serve-miss", 17:07–18:27 UTC:

node path=pull_leg_miss, cause=clean_miss path=coverage_gate
hel1 37 2
fra1 8 0
hil1 5 0
ash1 1 1
nbg1 0 1

hel1 logged 29 of its 37 in the SDXL run, between 17:43:50 and 17:49:47:

blob refusals result on the client
5aee6bda… 15 6.46 GiB in 282 s (1.13 GiB downloaded at 4.09 MiB/s, 5.34 GiB spliced from disk)
8662f4f4… 7 469.77 MiB in 45.4 s (253.58 MiB downloaded at 5.58 MiB/s, 216.19 MiB spliced)
301f835b… 5 188.92 MiB in 57.7 s (139.23 MiB downloaded at 2.41 MiB/s, 49.69 MiB spliced)
4db7eb10… 2 2.59 GiB in 344.4 s

Example:

17:45:24.315 hel1 INFO serve-miss: refusing the request hash=8662f4f4… byte_offset=268435456 byte_len=17825792 reason=cache_miss path=pull_leg_miss cause=clean_miss

Client side

The client sent these ranges to hel1 as a pull-through target: probed_holder=false coverage=whole blob. It asked the same range again after each refusal until the third one:

17:45:35 a lane faulted provider=0xEE08B2f6… hash=8662f4f4… offset=268435456 len=17825792 landed=0 uncovered=false probed_holder=false coverage=whole blob error=delivery refused: NotFound
17:45:39 … same range, NotFound
17:45:42 … offset=338591744 len=4390912, NotFound (third refusal of that range)
17:49:31 a node refuses a lane's extra streams; the lane is asked less often until one serves provider=0xEE08B2f6… hash=5aee6bda… refusals=3

The CLI started pull-through on bonded non-holders 8 times in the SDXL run, for example starting on 3 reachable bonded non-holder(s) as pull-through serve targets at 17:43:33 and 17:43:49.

Every one of these blobs completed within minutes from other lanes, so other nodes could serve the refused ranges. hel1's pull leg still found no provider that would serve them. The client runs at -v and doesn't log which provider served each range (#2332), so I can't name the nodes that did.

Refusals right after the restart

fra1 and hil1 refused 11 times (client side) on Qwen 8f9644e7… between 17:21:50 and 17:22:30, 11–51 s after the fleet restart. Those can be a node that had only just started. I list them separately from hel1's refusals, which came 22 minutes after the restart.

Impact

Small in this batch. Each refusal costs about 2.5 s before the range goes to another lane, and every file completed. SDXL took 1488 s, the fastest of the recent runs. But these are the same bonded non-holders that are supposed to fill a miss through pull-through (#1911). When they refuse, a blob that only one node holds narrows to that one node.

To check

  • Which candidates hel1's pull leg ranked for 8662f4f4… at 17:45:24, and whether each one was unreachable or declined. At info level the refusal line logs neither.
  • Whether the refused ranges were inside the coverage of the candidates hel1 knew about. These were complement ranges of blobs that other nodes held only in part.

Activity

  1. altanoruc commented on Oct 18, 2026

    @altanoruc
    ContributorAuthor

    Still reproduces on v0.1.0 (538bf31), at a low rate.

    Setup. A 23-run pull batch, 2026-10-18 09:45–14:20 UTC. Client and fleet both on v0.1.0; Tempo serve_stream spans report service.version=0.1.0 on every node. Bundles: Mistral, SDXL, Whisper large-v3, librispeech, plus ISO and video items. Every run exited rc=0.

    Node side. serve-miss lines with path=pull_leg_miss, cause=clean_miss in the window:

    node refusals blob (bundle) decdn_node_pull_attempts_total increase decdn_node_pull_no_providers_total increase
    hel1 8 89bdeffb… (SDXL)
    hel1 3 31d02d58… (Whisper)
    hel1 2 a2d1fe68… (Whisper)
    hel1 total 13 293 4
    fra1 3 5aee6bda… (SDXL) 834 0

    No other node logged pull_leg_miss. The other 49 serve-miss lines in the window are path=coverage_gate, which is by design (ADR 039).

    Client side. The client sees each of these as delivery refused: NotFound, uncovered=false, probed_holder=false, coverage=whole blob. For example, hel1 refused 89bdeffb 3 times in one SDXL run (11:25:39, 11:26:25 and 11:28:02 UTC) and once more in a later SDXL run (13:02:40). Each refusal costs one lane retry. No pull failed.

    Compared with earlier batches. By refusals per pull attempt, hel1's rate is 13/293 (4.4%) and fra1's is 3/834 (0.4%). On cdd1db5 the fleet had 0/290 (2026-10-08). On 64e4e88 it had 51/181 (2026-10-07). The rate tracks which complements the fleet has cached, so verifying a fix still needs a blob the fleet has not cached.

  2. self-assigned this
    on Oct 18, 2026
  3. thiras commented on Oct 18, 2026

    @thiras
    Contributor

    Cross-referencing the 13 hel1 refusals from the 2026-10-18 batch against the per-minute counters and the Tempo spans splits them into three mechanisms:

    Mechanism Refusals Evidence
    The only candidate's probe fails ~6 (11:25:39, one of 11:26:xx, 12:18:39 ×3) each refusal minute moves decdn_node_pull_unreachable_total by one; the 12:18:39 triple is three concurrent serves whose probes failed at the same instant. bcl was serving hel1 legs of the same blob throughout (Tempo serve_stream, peer=6dfd6f…). hel1's decdn_probe_collection_latency_seconds for the day: 25 rounds ≤ 0.25 s, 50 ≤ 0.5 s, 156 ≤ 1 s, so 106 of 156 rounds overran the 500 ms PROBE_TIMEOUT. A probe is two RTTs on a fresh dial, which selection.rs already names as the term to revisit.
    Discovery names nobody 4 (13:02:41–13:03:38, 89bdeffb…) decdn_node_pull_no_providers_total +4 in those minutes; the staker set stayed 9, decdn_origin_directory_get_origins_failures_total 0, no deny-list or watcher lines. The directory returned nothing, which a namespace-0 request does by construction. The refusal line does not log the namespace, so this is unproven.
    Nothing counted ~3 (11:28:02, 13:44:09, 13:44:10) no unreachable, no-providers, refused, backpressure or pool-open counter moved. A sole holder negative-cached from an earlier has_blob: false, or a probe dropped without a counter, fit.

    PR #2533:

    • the pull_leg_miss refusal line records the walk (source, discovered, skipped, probed, unreachable, absent, dropped, holders, spans, handshakes, last_fault) and every refusal line carries namespace_id, so the next batch names mechanisms B and C;
    • PROBE_TIMEOUT is 1 s, which fixes A.

    Side finding, filed as #2532: every dht_lookup span sampled on hel1 for 89bdeffb… ran exactly 8.00 s (aborted_peers=1), and decdn_staker_set_active_count is 9 on every node while 8 are live. A third of the fleet's lookups wait the full round timeout.

  4. removed their assignment
    on Oct 19, 2026
  5. added
    area:node
    kind:bug
    on Oct 21, 2026
  6. thiras commented on Nov 10, 2026

    @thiras
    Contributor

    Status on main (ee1d12d):

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

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions