
To be able to do that, we need to get hold of the MXS_MONITORED_SERVER corresponding to the SERVER specified as the new master. So, instead of just return a boolean indicating whether the server was found or not we return the MXS_MONITORED_SERVER pointer.