Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] Add support for Redis Cluster mode #138

Closed
zhouyang8304 opened this issue Apr 21, 2020 · 6 comments · Fixed by #190
Closed

[FEATURE_REQUEST] Add support for Redis Cluster mode #138

zhouyang8304 opened this issue Apr 21, 2020 · 6 comments · Fixed by #190
Assignees
Labels
enhancement New feature or request

Comments

@zhouyang8304
Copy link

startJob.Enqueue enqueue QTTMemberID:702303,OutKey:user_main-coin_to_sub_702303_1587398400 Error:ERR 'EVALSHA' command keys must in same slot

Dequeue error: ERR Error running script (call to f_119a32ad4f4ac4f23fba1b8be91aacd2948feb88): @user_script:4: @user_script: 4: Lua script attempted to access a non local key in a cluster node

@zhouyang8304 zhouyang8304 added the bug Something isn't working label Apr 21, 2020
@hibiken
Copy link
Owner

hibiken commented Apr 21, 2020

@zhouyang8304 thank you for opening an issue!

Are you trying to use Asynq with Redis cluster?

@zhouyang8304
Copy link
Author

yes
im use Asynq on Redis cluster
get error
Error:ERR 'EVALSHA' command keys must in same slot
How to solve the error

@zhouyang8304
Copy link
Author

redis version 5.0.5

@hibiken
Copy link
Owner

hibiken commented Apr 21, 2020

I see. Asynq currently doesn't support Redis cluster.
It currently supports Single Node Redis or Redis Sentinels.

I need to investigate how to make it work for Redis cluster. Is it an absolute requirement for you to use cluster mode? If so, I can prioritize this bug.

@hibiken hibiken changed the title [BUG] Description of the bug [BUG] Redis Cluster mode is not supported Apr 21, 2020
@zhouyang8304
Copy link
Author

ok thanks

@hibiken
Copy link
Owner

hibiken commented Apr 21, 2020

I'll change this to a feature request. Please let me know if this is a blocker for you :)

@hibiken hibiken changed the title [BUG] Redis Cluster mode is not supported [FEATURE_REQUEST] Add support for Redis Cluster mode Apr 21, 2020
@hibiken hibiken added enhancement New feature or request and removed bug Something isn't working labels Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants