-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Doesn't play well with redis-namespace #196
Comments
I don't know a lot about this gem, but I'm trying to sort out a problem with an app that uses it and I was trying to figure out if it was namespace safe. It appears not. As far as an explanation, I haven't had time to test this out, but the gem uses Lua scripts that are evaluated and run on your redis server. I'm guessing that it circumvents the way redis-namespace works. I think you can configure a |
Support for namespace has been dropped. |
Wouldn't it make sense to drop that code then? |
Any reason why support for namespace has been dropped? We run our sidekiq server on a namespace and currently this doesn't work (eg: when specifying replace when on conflict, the existing job doesn't get replaced) |
Partly because doing so means supporting a bad way of doing the Redis thing, partly because I am lazy. |
I couldn't quite figure out where it happens in the code, but somehow namespaces are not added to the main hash key. Example of what I see in redis:
So somehow the hash doesn't get namespaced, but the unique job key inside of it does.
My guess would be that:
The text was updated successfully, but these errors were encountered: