Repository navigation
Closed
Labels
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:featureNew capability or a change to current behavior
Description
Follow-ups #2122 leaves out on purpose.
- Prime the multi-source probe (cli: the throwaway (0,0) prelude open claims a fill on the node and abandons it #2063 remainder).
probe_admitted_total(crates/cli/src/commands/fetch.rs) still opens(0, 0)to readtotal_bytesand drops the pull. The scheduler's first unit is a segment, never(0, total), so noPrimedSourcematch exists. Adopting it needs a first-unit hook inmulti_source_fetch. - Prime the node's upstream handshake.
handshake_total_bytes(crates/node/src/node_origin/pull_leg.rs) has the same open-then-abort shape on the node→node miss leg. - Stripe a range set across providers (bundle pull: range-dedup complement pays ~1,300 16 KiB boundary ranges serially, one QUIC connection each #2119 B remainder).
drive_range_setfills an entry's ranges concurrently against one provider. Spreading them over every holder the entry probed would use more than one link. - One request, many ranges (bundle pull: range-dedup complement pays ~1,300 16 KiB boundary ranges serially, one QUIC connection each #2119 C). A
StreamRequestcarrying a range list would make a whole complement one paid leg. This is wire-breaking. - Defer boundary groups to the sibling (bundle pull: range-dedup complement pays ~1,300 16 KiB boundary ranges serially, one QUIC connection each #2119 D). Splice a seam group after the sibling that fetches it lands, instead of paying for it up front.
- Entry floor on the multi-source path (fetch: stall floor is per-stream only, so a per-entry crawl never triggers failover or a second source #2120 remainder).
watched_drivecovers single-source and range drives. The multi-source path relies on the scheduler's per-unit watchdog and gets only the-vcompletion line.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:featureNew capability or a change to current behavior
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsDone
Activity
fix(cli,node): retry a primed first open only on a size error
thiras commentedon Sep 24, 2026
The two priming bullets are implemented in #2138, which is still pending review and merge:
size, else the probe hint), the CLI opens the face's first unit and the scheduler's first-unit hook (SourceLane::first_unit) reserves it for the answering lane, which adopts the pull.handshake_total_bytesopens the pull leg's predicted first leg from the probe's size hint, and the first run adopts it (PrimeKey::answers). The bufferedpull_from_candidateadopts its whole-blob handshake.With no size, or a wrong one, both fall back to the whole-blob open.
The other four bullets are still open: stripe a range set across providers, a multi-range request, deferring boundary groups, and the entry floor on the multi-source path.
feat(cli,node): prime the multi-source probe and the node's upstream …
fix(cli,client): address the striped range-set review
fix(cli,client): put the entry floor on the multi-source path (#2141)
feat(cli,client): stripe a range-dedup entry's ranges across its holders
fix(cli,client): address the striped range-set review
feat(cli,client): stripe a range-dedup entry's ranges across its holders
fix(cli,client): address the striped range-set review
feat(cli,client): stripe a range-dedup entry's ranges across its hold…
thiras commentedon Sep 24, 2026
All six bullets are resolved:
C (a range-list
StreamRequest) stays out. The ~1,300 serial 16 KiB legs from #2119 are gone, and the fix is on the client side:Tempo for
02bd48…(original/model.safetensors) after #2124 (2026-09-23 19:12–20:21 UTC) shows about 20serve_streamlegs of 0.6–45 MB each, lasting 1.5–156 s, allcompleted. The same entry took about 700 streams across bcl, fra1 and lon1 in the 13:35–14:15 UTC run. A range list would save one stream open, one signed response and one residual voucher per leg. At this leg count and size, that overhead is noise. It would cost a wire change plus multi-range support through the node's miss path (claim_fill,FillSession,serve_leg,content_paid_frontier) and the client'sAlignedRange,BlobSource::openandPrimedSource. Reopen only with a trace where per-stream overhead dominates wall-clock time.D is covered where it can apply. #2124 makes a seam between two spliced chunks free by splicing it from both sides (
adr/appendix-bundles.md). The group left at the edge of a driven chunk can't come from a sibling:align_rangeserves only whole groups.That edge group already travels in the same complement gap as its chunk, so it is not a separate leg.
🤖 Generated with Claude Code