-
Notifications
You must be signed in to change notification settings - Fork 359
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
How to set client-output-buffer-limit? #118
Comments
Hi @rhefner1, I'll try to reproduce and update you if I find a fix. Have you tried with the following?
|
@jchanam No but that's a really great idea. One sec, I'll try it now. |
@jchanam nope, same error "ERR Wrong number of arguments for CONFIG set" |
Ok, maybe a change in the code has to be done. I'll try to check it soon ok? |
Not sure this would work, @rhefner1 -- and I don't have a setup I can easily test right now -- but have you tried something like:
|
@benjaminjb that doesn't work either 😢 |
I'm suspecting that the error is here [1] (but I'm not sure). The command is split by a space and then sent to I don't really want to try this in my cluster due to #89 and #78 (could cause downtime in production), but I'm tempted to change the [1] https://github.com/spotahome/redis-operator/blob/master/service/redis/client.go#L273 |
Hi @rhefner1, I'm working on a fix, on the branch https://github.com/spotahome/redis-operator/tree/fix-multiple-values-custom-config If you want to test it, you can do it using this image: quay.io/spotahome/redis-operator:fix-multiple-values-custom-config |
@jchanam Great! I will check it out tomorrow. Thanks! |
@jchanam Just tried the new 0.5.6 version and it looks good. Thanks! Edit: by "this looks good" I mean that the settings are propagated correctly to the redis instances without any restarts, etc. |
Hi @jchanam, thanks again for the great project. We've been running in production for a few months now and things seem to be pretty good.
However, we recently had some trouble with our redis cluster due to the slaves exceeding their output buffer limits, so I need to set this in the operator config. Here is the relevant part of my config file:
Note that I've tried a number of combinations (without
\"
, with it, etc.) and each time I get the error message below in the operator logs:Running
config set client-output-buffer-limit "normal 0 0 0 slave 1000000000 1000000000 0 pubsub 33554432 8388608 60"
directly in redis-cli works just fine. How can I express this in the operator?The text was updated successfully, but these errors were encountered: