Hi MIng,

There are couple of ways you can achieve that. Before providing an answer,
how many partitions do you have. Did you generate the idealstate yourself
or used Helix to come up with initial idealstate?

The reason old master tries to become a master again is to distribute the
load among the nodes currently alive. Otherwise the old node that comes
back will never become a master for any partition and will remain idle
until another failure happens in the system.

thanks,
Kishore G


On Sat, Mar 30, 2013 at 8:01 PM, Ming Fang <[email protected]> wrote:

> We're using MASTER SLAVE in AUTO model.
> When the MASTER is killed, the failover is working properly as the SLAVE
> transitions to become MASTER.
> However if the failed MASTER is restarted, it will try to become MASTER
> again.
> This is causing a problem in our business logic.
> Is there a way to prevent the failed instance from becoming MASTER again?

Reply via email to