Abstract:
A method and advice for handing over between master and standby storage nodes and a storage medium are disclosed by the embodiments of the present invention, and the method includes: a master storage node sends service request data to a consistency control center for registration and synchronizes a standby storage node with the service request data if the registration is successful; when the consistency control center determines that the synchronization of the registered standby storage node with the service request data from the master storage node is failed, the consistency control center stores a key value corresponding to the registered service request data involved in the failed synchronization into a blacklist; the standby storage node obtains the blacklist from the consistency control center after the handing over; and when the standby storage node receives new service request data that corresponds to a key value the same as one stored in the blacklist, refusing, by the standby storage node, to provide a data writing service for the new service request data; otherwise, allowing, by the standby storage node, to provide the data writing service for the new service request data. In the embodiments of the present disclosure, the high consistency between the service request data on the master storage node and that on the standby storage node is ensured and the data writing service function is maintained on the standby storage node.