A method for synchronizing replicas of a database. The method includes detecting a failure of update data from a first replica to be applied to a second replica; determining a cause of the failure; and resolving the cause of the failure. According to the method disclosed herein, the present invention synchronizes the replicas of the database without requiring manual intervention.