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
client: a store read error in the unit watchdog is blamed on the source as a stall #2213
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
A store read error during the multi-source unit watchdog is reported as a stall, and the source is blamed for it. The real I/O error is lost.
Found in the review of #2212. The behaviour predates that PR; #2212 only rewrote the doc.
Where
missing_bytes (crates/client/src/scheduler.rs) maps Err(_) from store.missing_ranges to u64::MAX.
watchdog reads that as "bytes still missing" and trips when the window's verified counter has not moved. The worker then records UnitOutcome::Faulted(None) with no error, and LaneFault::describe prints "no verified progress within the unit deadline".
Failure scenario
A local disk or read fault lands during a quiet window. A healthy peer is retired as stalled, and its range is reassigned. By default the CLI installs no tracing subscriber, so nothing records the I/O error.
Expected
missing_bytes returns Result. On Err the watchdog resolves with the error, and the unit ends as Faulted(Some(err)). A local disk fault there should also classify as the fetch's own error, not the peer's.
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
refactor(client,cli): grow a hinted size from discovered bytes
refactor(client,cli,node): one acquire loop for fetch recovery, size …