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] FixedRetryStrategy retries on ALL errors with no filter and no idempotency guard #6575
Retry.fixedDelay(retryTimes, Duration.ofSeconds(2)) has no .filter(...). Reactor's Retry.fixedDelay retries on every Throwable by default: 4xx permanent failures, 5xx, any IOException/NPE, and POST/PUT/DELETE (non-idempotent). With retryTimes=3 and an upstream returning 500 for a POST, the gateway sends 3 more POSTs to a failing server.
Retry storm amplifying load by (N+1)x during an upstream outage, with 2s delays occupying connections. 1000 concurrent requests to a failing upstream = 4000 requests/s.
Suggested fix
Add a .filter() limiting retries to transient/network exceptions (ConnectTimeoutException, ReadTimeoutException, TimeoutException); add an idempotency guard skipping non-GET methods unless explicitly configured.
Related existing issue(s)
#6413 is retry sending an empty body (functional); this is retry-on-everything amplification (perf/scalability). #6464 (non-default retry backoff strategies can't be selected) is a selection bug; this is the Fixed strategy's missing filter.
Activity
github-actions commentedon Aug 2, 2026
👋 Hello @yuluo-yx
A new issue has been opened by @Aias00:
Please review when you have time. Thank you! 🙏