-
Notifications
You must be signed in to change notification settings - Fork 1
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
Possible to use multiple sentinels in config.yml #4
Comments
Hi @vishalsharma13 What exactly is the problem you are facing? If twemproxy didnt change master-slave servers check your config.xml (nutracker_restart_command) |
@yak0 Like in below logs +convert to slave event at sentinel 3 but not in others 2 sentinels and i am using sentinel1 in config.yml and due to this +convert to slave event not capture from sentinel and nutcracker.yml file not updated through twemsentinel.py. Following are sentinel logs :- Sentinel1(That i am used in congig.yml) 23197:X 13 Apr 11:52:13.499 * +slave slave X.X.X.X:6381 X.X.X.X 6381 @ mymaster X.X.X.X 6380 Sentinel2 8336:X 13 Apr 11:52:14.573 * +slave slave X.X.X.X:6381 X.X.X.X 6381 @ mymaster X.X.X.X 6380 Sentinel3 15499:X 13 Apr 11:52:12.798 * +slave slave 127.0.0.1:0 127.0.0.1 0 @ mymaster X.X.X.X 6380 |
Did you listen "+switch-master" channel in a redis-cli ? |
I am listening this event through redis pubsub . Below is the code
In twemsentinel.py and below is my config.yml sentinel_ip: "X.X.X.X" |
@yak0
Hi,
I am facing problem that sometime event not captured at sentinel like +convert to slave event not captured by sentinel that i used due to this twemsentinel unable to update the the nutcracker conf.
So please suggest the way to solve out this problem.
The text was updated successfully, but these errors were encountered: