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
node: a DHT answer that names only the requester skips the origin-directory fallback #2534
discover (crates/node/src/node_origin/mod.rs) falls back to the origin directory only when the DHT answer is empty. open_pull_leg (crates/node/src/node_origin/pull_leg.rs) drops the requester from the providers after that decision. So when the requester is the only DHT provider for the hash — a partial holder asking a bonded non-holder for the blocks it lacks — the leg ends with no provider and refuses NotFound, without asking the directory that lists the origin.
Since #2533 the refusal line shows this as path=pull_leg_miss source=dht discovered=0.
Fix
Drop the requester inside discover, before the empty check, so the directory fallback runs on a DHT answer that named only the requester. One journey: the DHT record names the leaf's own node id, the directory lists the origin, the serve fills from the origin.
Activity