Invention Grant
- Patent Title: Data storage method, data recovery method, related apparatus, and system
-
Application No.: US15603413Application Date: 2017-05-23
-
Publication No.: US09823970B2Publication Date: 2017-11-21
- Inventor: Daohui Wang , Feng Zhang , Wei Fan , Zhile Zhang , Yongqiang Zeng
- Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Huawei Technologies Co., Ltd.
- Priority: CN201510304374 20150604
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/10 ; G06F3/06 ; G06F9/50 ; G06F9/46

Abstract:
A data recovery method to improve storage consistency of a distributed storage system includes: receiving a recovery message from a storage node after a fault recovery of the faulty storage node; obtaining N lost erasure coding (EC) blocks of the faulty storage node through computation according to EC blocks stored by non-faulty storage nodes; sequentially sending N lost EC blocks to the faulty storage node for storage. In the process of sequentially sending the N lost EC blocks to the faulty storage node, when it is determined that for a first EC block that is to be stored by the faulty storage node, a second EC block having a same key value as the first EC block exists in the lost EC blocks, after the faulty storage node stores the second EC block, the first EC block is sent to the faulty storage node to store.
Public/Granted literature
- US20170255522A1 DATA STORAGE METHOD, DATA RECOVERY METHOD, RELATED APPARATUS, AND SYSTEM Public/Granted day:2017-09-07
Information query