You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multi-source unit watchdog kills a proxy during its two-leg cold start #2209
The multi-source unit watchdog kills a healthy proxy during its cold start. It samples verified progress once per --unit-deadline-ms (default 10 s). Progress moves only when a 4 MiB ingest checkpoint lands. A proxy-warming two-leg miss does not land 4 MiB in its first 10 s, so the fetch fails over to single-source.
Evidence (testnet, 2026-09-28, CLI and fleet on 8886c85c)
07:47:10.bundle pull: multi-source fetch of an entry failed (all sources failed; 4546807800 bytes unfetched: provider 0x6B82… [nbg1]: no verified progress within the unit deadline). The entry is b32596…, unit 0 (1237368832 bytes).
The matching nbg1 tracea1e28475dc31d5bc0edf9a29e3fdc885 (07:46:59–07:47:10.9):
DHT lookup took 650 ms and the first upstream open took 608 ms. The first upstream byte arrived ~1.8 s after the request.
The pull then ran in ~1 MB paced draws (1097728, 983040, 1507328, 1097728), one open every ~2.5 s.
The serve ended with closed by peer: upstream-pull-dropped.
08:06:42. The same failure on 998030… (1778593864 bytes unfetched).
Code:
watchdog samples missing_bytes once per deadline: crates/client/src/scheduler.rs:247.
That count moves only at INGEST_CHECKPOINT_BYTES (4 MiB): crates/client/src/ranged_store.rs:509.
The default deadline is set at crates/common/src/cli/fetch.rs:213. The flag's own doc says it must sit above 4 MiB / min-expected-throughput, and a ramping proxy does not meet that.
Direction (not decided)
Count wire progress (bytes verified in flight), not durable checkpoints.
Activity
fix(cli,client): harden lane permits and cover the watchdog wiring (#…