Repository navigation
Description
Summary
A new client process can resume a lane from a persisted accrual that trails the frontier the node verified. Its first voucher then under-folds the lane's live hash chain. #2167 makes the node reject that voucher with the resume bundle, so the stream now heals in one round trip instead of stalling for 10 s. The client-side cause is still unknown.
Evidence
In the #2167 testnet run (pool 0xcb5986…, nodes on 74b13a5c), earlier CLI processes (0458fa…, 24b77e…) left live chains on fra1 and nbg1. The next CLI process sent a first voucher with an amount above the node's signed last_amount but below its live claim (last_amount + verified_index × chunk_price).
adr/003-payments.md §Chain length and rollover and crates/incentive/src/lane.rs (the fold check in advance_presigned) state that no honest payer reaches this state. Issuance is serialized under the payer's lock, and a folding voucher also rolls.
Suspected path (unconfirmed)
A reveal whose send failed locally but still reached the node. The node advances verified_index. The client does not count the reveal in the accrual it persists at the end of the fetch. The next process resumes from the lower figure.
Scope
- Confirm or reject the suspected path. Other candidates: a persist that runs before the last reveals are accounted, or a crash between a reveal and the end-of-fetch persist.
- If the path is real, decide whether the client must count a reveal whose send outcome is unknown. The node: an under-folding voucher credits 0 bytes instead of rejecting with the resume bundle, stalling the stream 10s #2167 heal already bounds the cost at one rejected voucher per resume.
- Watch
decdn_serve_stream_voucher_rejected_totalon the testnet after node: an under-folding voucher credits 0 bytes instead of rejecting with the resume bundle, stalling the stream 10s #2167 deploys. Each heal counts there once.
Follow-up to #2167.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity