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
[BUG] No circuit breaker in the proxy/retry path by default — no fast-fail when all upstreams are down #6584
The retry logic operates below the plugin chain with no awareness of circuit-breaker state. The Resilience4J circuit breaker is not enabled by default. The failover retry checks UpstreamCacheManager for healthy upstreams, but that lags real-time failures. When all upstreams in a selector go down, every incoming request fires retryTimes retries (each timing out) before failing — no fast-fail path.
Location
shenyu-plugin-divide/.../DividePlugin.java:94-141 (no CB wrapping)
shenyu-plugin-resilience4j/.../Resilience4JPlugin.java:80-90 (optional, must be explicitly configured per-route)
Impact
With retryTimes=3 and 1000 RPS, that's 4000 outbound requests/s to dead upstreams for the outage duration plus 3000 held connections.
Suggested fix
Make a lightweight circuit breaker (open-on-N-consecutive-failures, half-open-probe) the default in the Divide/HTTP retry path, not an opt-in plugin.
Activity
github-actions commentedon Aug 2, 2026
👋 Hello @Aias00
A new issue has been opened by @Aias00:
Please review when you have time. Thank you! 🙏
wy471x commentedon Oct 4, 2026
/assign