METHOD AND SYSTEM FOR HANDING OVER BETWEEN MASTER AND STANDBY STORAGE NODES AND STORAGE MEDIUM
    1.
    发明申请
    METHOD AND SYSTEM FOR HANDING OVER BETWEEN MASTER AND STANDBY STORAGE NODES AND STORAGE MEDIUM 审中-公开
    用于处理主机和待机存储代码和存储介质之间的方法和系统

    公开(公告)号:WO2015062520A1

    公开(公告)日:2015-05-07

    申请号:PCT/CN2014/089907

    申请日:2014-10-30

    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.

    Abstract translation: 通过本发明的实施例公开了在主存储节点和备用存储节点与存储介质之间切换的方法和建议,并且该方法包括:主存储节点向一致性控制中心发送服务请求数据以进行注册并同步 如果注册成功,则具有服务请求数据的备用存储节点; 当一致性控制中心确定登记的备用存储节点与来自主存储节点的服务请求数据的同步失败时,一致性控制中心将与失败同步中涉及的注册服务请求数据相对应的密钥值存储到 黑名单; 备用存储节点在交接之后从一致性控制中心获取黑名单; 并且当所述待机存储节点接收到与存储在所述黑名单中的密钥值相同的密钥值的新的服务请求数据时,由所述备用存储节点拒绝为所述新的服务请求数据提供数据写入服务; 否则,由备用存储节点允许为新的服务请求数据提供数据写入服务。 在本公开的实施例中,确保主存储节点上的服务请求数据与备用存储节点上的服务请求数据之间的高度一致性,并且在备用存储节点上维护数据写入服务功能。

Patent Agency Ranking