-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Interest in supporting AWS Elasticache replication group failover #550
Comments
Hi @craigmcnamara, thanks for working on this! I didn't realize I would need to do something extra to support ElastiCache failover. I have seen some ReadOnly errors in the past that this gem should fix, so I will try it out! However, now I'm struggling with a different error during failover: #949 Would the Also, does Thanks! |
Ahh, I can see the code just checks for some error messages and raises a different error to force a reconnect: https://github.com/craigmcnamara/redis-elasticache/blob/master/lib/redis/elasticache/failover.rb So it looks like this won't help with my current issue, but I'll definitely use this anyway! Thanks! |
I was seeing a similar issue,
|
It may still be needed. Looks like LUA invocations are not handled properly and still fail with READONLY error |
For anyone upgrading to Redis 5 gem, looks like this maybe fixed in v5.0.6 now https://github.com/redis/redis-rb/blob/master/CHANGELOG.md#506 |
I made a gem here: https://github.com/craigmcnamara/redis-elasticache
I'd happily make it an optional addon to redis-rb if you'd accept a pull request.
The text was updated successfully, but these errors were encountered: