A high availability MySQL cluster that guarantees data consistency between a master and slaves