missing return in set_master causing continuous reconfig.