-
公开(公告)号:US10831612B2
公开(公告)日:2020-11-10
申请号:US16522073
申请日:2019-07-25
Applicant: Huawei Technologies Co., Ltd.
Abstract: A primary node-standby node data transmission method includes an indication that a control node obtains an operation log generated by a primary node, where the operation log includes at least one operation record, and each operation record indicates a record of performing, by the primary node, a write operation on a local cache or a storage unit in a storage device. The method further includes the control node determining a first storage unit set that corresponds to a first standby node, the control node determining a second storage unit set that corresponds to the at least one operation record, the control node obtaining an operation record from the operation log, and the control node sending the corresponding operation record to the first standby node, where the storage unit intersection set is an intersection set of storage units in the first storage unit set and the second storage unit set.
-
公开(公告)号:US09778998B2
公开(公告)日:2017-10-03
申请号:US14660460
申请日:2015-03-17
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jijun Wen , Yuanyuan Nie , Wentao Xu
CPC classification number: G06F11/1469 , G06F17/30575
Abstract: Embodiments of the present invention disclose a data restoration method, including: after a transaction is submitted, saving a generated transaction log to a buffer of a current node, and backing up the transaction log to a buffer of at least one backup node except the current node; writing the transaction log saved in the buffer of the current node or the transaction log backed up in the buffer of the backup node into a transaction log file in a disk, where the transaction log file in the disk is used for restoring data of the current node; and restoring, based on the transaction log file in the disk, lost data of the current node when a data loss event occurs in the current node. By means of the present invention, a risk of system data can be reduced, and durability, safety, and reliability of the system data can be improved.
-