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
Recently we got failed to fetch the cache because EXEC was aborted by redis or connection closed by DoMultiCache during redis cluster scaling ( relate to #696 )
We believe that fail reason should be something relation to cluster scaling.
Check source below, seem like in TRANSACTION do commands MULTI, PTTL, GET/MGET, EXEC, then redis server return a error MOVED {slot} {ip:port} for PTTL command, and EXEC get a EXECABORT error. But driver only check with the EXEC command result.
Recently we got
failed to fetch the cache because EXEC was aborted by redis or connection closed
byDoMultiCache
during redis cluster scaling ( relate to #696 )We believe that fail reason should be something relation to cluster scaling.
Check source below, seem like in TRANSACTION do commands
MULTI, PTTL, GET/MGET, EXEC
, then redis server return a errorMOVED {slot} {ip:port}
forPTTL
command, andEXEC
get aEXECABORT
error. But driver only check with theEXEC
command result.https://github.com/redis/rueidis/blob/main/pipe.go#L1446-L1482
Seem like we can fix this easily, just handle previous error in TRANSACTION and let driver handle retry automaticlly.
We will test it ASAP and maybe file a PR later.
The text was updated successfully, but these errors were encountered: