asynq icon indicating copy to clipboard operation
asynq copied to clipboard

[BUG] got error when use aliyun redis cluster

Open zuiwanting opened this issue 2 years ago • 5 comments

aliyun redis cluster has limit in use lua script

err message as follow:

bad lua script for redis cluster, all the keys that the script uses should be passed using the KEYS array, and KEYS should not be in expression

the reference doc link may is :

https://help.aliyun.com/document_detail/145968.htm?spm=a2c4g.11186623.0.0.43c23732F5QAva#concept-2353537

zuiwanting avatar Apr 29 '22 03:04 zuiwanting

@zuiwanting Thank you for opening an issue (sorry for the delay in response).

Is this redis-cluster implementation different from the Open-Source version?

hibiken avatar May 10 '22 13:05 hibiken

@hibiken

asynq: pid=1 2022/05/31 14:23:00.740391 ERROR: Failed to write server state data: UNKNOWN: redis command error: SADD failed: MOVED 15197 172.16.71.100:6379

so how to fix this when i use aliyun redis cluster? redis cluster version is 6.0 from ali

Danny5487401 avatar May 30 '22 10:05 Danny5487401

image need modify lua script

zuiwanting avatar Sep 28 '22 04:09 zuiwanting

how to fix this problem

lisiru avatar Aug 21 '23 02:08 lisiru