Closed tovbinm closed 11 years ago
Really great :)
I don't really know about the use cases of Sentinel. Maybe it would be nice to add and remove Sentinels when they spawn and die. So during the life of you Scala program you could start with a cluster of A machines and move to B machines.
Usually you run one sentinel process on each machine. For instance, if we have three Redis instances: one master and two slaves; then we'll have three sentinel processes, one per machine. Sentinels are not likely to die, except when the whole machine is down.
Oh, do you mean detecting new sentinels automatically? i.e. subscribing to "+sentinel
Yes, detecting new sentinels and starting a connection to it.
Then it probably should be done internally in SentinelClient.
Yes SentinelClient fire a callback, and the MonitoredClient can act on it (starting a new SentinelClient for example)
@etaty , added sentinels auto discovery
looks good, i will merge it during the weekend. thanks :)
Great! Looking forward hearing from you.
Can you tell me if it's ready to be merged ?
Not yet. I'll ping you. ;)
-Matthew On Sep 16, 2013 12:38 AM, "Valerian" notifications@github.com wrote:
Can you tell me if it's ready to be merged ?
— Reply to this email directly or view it on GitHubhttps://github.com/etaty/rediscala/pull/11#issuecomment-24480891 .
@etaty what else should be done for this one?
Merging :) I will do it during this weekend
Awesome!
thanks :)
I will release version 1.3 during the week
Changes Unknown when pulling fe6db9cd3537db854c266d1fdc1d8df92676343c on tovbinm:mt/multi_sentinel into \ on etaty:master**.