unify master/slave policy