Skip to content

Cleanup serving stale while origin server down#13083

Open
masaori335 wants to merge 1 commit intoapache:masterfrom
masaori335:asf-master-stale-while-down
Open

Cleanup serving stale while origin server down#13083
masaori335 wants to merge 1 commit intoapache:masterfrom
masaori335:asf-master-stale-while-down

Conversation

@masaori335
Copy link
Copy Markdown
Contributor

@masaori335 masaori335 commented Apr 10, 2026

HttpTransact::HandleCacheOpenReadHit try to return stale contents by checking is_server_negative_cached(s), but actually, this is dead code. Because when all origin servers are marked down, HttpTransact::OSDNSLookup serves stale contents.

This PR marked as draft because new AuTest depends on #13069. (update: this is ready)

@masaori335 masaori335 added this to the 11.0.0 milestone Apr 10, 2026
@masaori335 masaori335 self-assigned this Apr 10, 2026
@masaori335 masaori335 force-pushed the asf-master-stale-while-down branch from bfc2ef4 to 4eaac41 Compare April 12, 2026 23:36
@masaori335 masaori335 force-pushed the asf-master-stale-while-down branch from 4eaac41 to c198907 Compare April 17, 2026 04:33
@masaori335 masaori335 marked this pull request as ready for review April 17, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant