Keep stale virtual member copy when the remote lookup fails #171
Reference in New Issue
Block a user
Delete Branch "benvin/stale-keep-on-lookup-error"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A transient remote lookup error dropped the serve_stale copy of a virtual member and forced a blocking fetch, so a short DB blip stalled every merge.
serve_staleoff into the stale path: it serves a leftover warm copy (from a past toggle) up to maxStaleAge, and a cold fetch stores a new copy for it → state this explicitly as intended, or on error with no existing copy callfetch(ctx)directly without storing.serve_staleoff → pin the chosen behaviour.No findings.