Can I resolve this by state transition priority and constraint?

On Tue, Mar 3, 2015 at 12:40 AM, Gavin Li <[email protected]> wrote:

> +dev and commits
>
> ---------- Forwarded message ----------
> From: Gavin Li <[email protected]>
> Date: Tue, Mar 3, 2015 at 12:24 AM
> Subject: question about state transition
> To: [email protected], [email protected]
>
>
> Hi,
>
> We have each server handle some partitions, and we use Master Slave model.
>
> We need to do some work when transit from offline to slave, sometimes it
> takes long time. So when the server ranked higher in ideal state is up and
> doing the work during the transition of offline to slave, the other server
> is changed to slave from master.
>
> This is causing some period of time that there's no master at all which is
> problematic. Is it possible to bring the other server down when the higher
> rank server is transiting from slave to master instead of when transition
> from offline to slave?
>
> THanks,
> Gavin Li
>
>

Reply via email to