asynq
asynq copied to clipboard
[BUG] got error when use aliyun redis cluster
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 Thank you for opening an issue (sorry for the delay in response).
Is this redis-cluster implementation different from the Open-Source version?
@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
need modify lua script
how to fix this problem