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
description: resultFlux.onErrorResume(throwable -> Flux.just(Arrays.asList(1L, -1L))) converts any Redis error into a normal emission of {allowed=1, tokensLeft=-1}. The downstream .reduce().map() completes successfully, so the trailing .doOnError(...) (which logs and calls the callback) is unreachable — onErrorResume already absorbed the error. Net effect: on Redis outage every request is allowed (fail-open) AND nothing is logged.
impact: Complete, invisible bypass of rate limiting during Redis outages; operators get no log signal.
suggested_fix: Move logging into the onErrorResume lambda; make fail-open vs fail-closed an explicit, logged policy.
Activity
github-actions commentedon Aug 3, 2026
👋 Hello @yuluo-yx
A new issue has been opened by @Aias00:
Please review when you have time. Thank you! 🙏
Merge branch 'master' into fix/#6645
Merge branch 'master' into fix/#6645
Merge branch 'master' into fix/#6645
Merge branch 'master' into fix/#6645
Merge branch 'master' into fix/#6645
fix: invoke RedisRateLimiter error callback/logging inside onErrorRes…
fix: invoke RedisRateLimiter error callback/logging inside onErrorRes…