-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Custom Lua scripts are not loaded in cluster mode #1405
Labels
Comments
stavalfi
changed the title
script not loaded when using cluster
Custom Lua scripts are not loaded in cluster mode
Aug 4, 2021
This could be caused by what I've described in the comment here: #1438 (comment) Once a server restarts, it doesn't have the script anymore and ioredis only tries to reload them after 60s. |
🎉 This issue has been resolved in version 4.28.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This accidentally got closed. #1499 would fix the behavior |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a local cluster on my macbook pro with 3-8 nodes using redis-cli and redis-server (From homebrew).
When I shutdown all nodes and re-create them (manually) - 9/10 runs this bug occurs:
Error
(Very?) Bad Workaround
It took me a while to figure out how to fix it: I need to manually update all nodes about the script
I'm not sure I can use this fix in production.
More info
Note: In non-cluster runs, all works great: using local,remote,docker redis-servers.
redis.conf for all nodes:
The text was updated successfully, but these errors were encountered: