I think we should remove the set_rabit* and rename set_mysql  to   something like  set_active_passive then use this to handle the rabbit and mysql cases.