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

Do not use Atomic Lua script to prepare worker jobs when using Redis Cluster #730

Merged
merged 2 commits into from
Dec 18, 2021

Conversation

evantahler
Copy link
Member

We cannot use the atomic Lua script if we are using redis cluster - the shard storing the queue and worker may not be the same

An alternative approach would be to use Redis Hash keys, but then every key would start with {resque}: rather than resque:, breaking compatibility with other implementations of resque.

@evantahler evantahler added the bug label Dec 18, 2021
@evantahler evantahler changed the title Do not use Atoomic Lua script to prepare worker jobs when using Redis Cluster Do not use Atomic Lua script to prepare worker jobs when using Redis Cluster Dec 18, 2021
@evantahler evantahler merged commit 9373c97 into main Dec 18, 2021
@evantahler evantahler deleted the cluster branch December 18, 2021 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant