Multi-replica data restoration method and apparatus

    公开(公告)号:US11132265B2

    公开(公告)日:2021-09-28

    申请号:US16448581

    申请日:2019-06-21

    Abstract: Embodiments of this application provide a method and an apparatus for multi-replica data restoration. The method is applied to a distributed database and includes: when a first page in replica data of a first node has a fault, obtain N latest LSNs in data log information of a second node that corresponds to a first page identifier. The first page is any page that is in the replica data of the first node and that has a fault. The first node further determines a node corresponding to a largest LSN in the N latest LSNs in the data log information of the second node that corresponds to the first page identifier is a third node. Then the first node performs data restoration on the first page in the replica data of the first node according to replica data of the third node.

Patent Agency Ranking