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
Redis utility here seems to not be designed with resiliency in mind, in case redis fails to connect for any reason, subsequent call to _M.error() will invoke ngx.say and ngx.exit and terminate the current request.
Version
V2.9
Steps To Reproduce
Import redis from threescale_utils module.
call connect_redis, e.g. local red = ts:connect_redis()`.
run APICast instance not connected to redis (like staging) or simulate redis disconnect.
Entire request fails.
Current Result
Entire request terminates.
Expected Result
Provide at least an key of option argument to be like secondary or resilient, and if passed _M.error() is not invoke if redis is not available and request gracefully continues.
The text was updated successfully, but these errors were encountered:
Redis utility here seems to not be designed with resiliency in mind, in case redis fails to connect for any reason, subsequent call to
_M.error()
will invokengx.say
andngx.exit
and terminate the current request.Version
V2.9
Steps To Reproduce
redis
fromthreescale_utils
module.connect_redis
, e.g. local red = ts:connect_redis()`.Current Result
Entire request terminates.
Expected Result
Provide at least an key of
option
argument to be likesecondary
orresilient
, and if passed_M.error()
is not invoke if redis is not available and request gracefully continues.The text was updated successfully, but these errors were encountered: