Unlock instant, AI-driven research and patent intelligence for your innovation.

A log recovery method, storage device and storage node

A technology for storage nodes and storage devices, which is applied in the field of storage related to the invention, and can solve problems such as slow recovery of business logs

Active Publication Date: 2020-07-28
HUAWEI TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Provide a log that can solve the problem of slow recovery of business logs in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A log recovery method, storage device and storage node
  • A log recovery method, storage device and storage node
  • A log recovery method, storage device and storage node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The solution of this application can be applied to a distributed storage system. The data stored in the distributed storage system can store files (or part of files), objects or key values ​​(KV, key value). In the following embodiments, unless otherwise specified, only object storage is used as an example for introduction.

[0025] The associated log can be the log information generated along with data preservation during the process of storing data in the distributed storage system. Companion logs can be used for data failure recovery, and can also be used to record value-added features such as quotas. Both business logs and recovery logs are companion logs. Companion logs can have characteristics: companionship, which is performed with the operation of the object, and does not exist alone; reliability, which is carried out with the operation of the object, and each storage node saves the same companion log in a mirrored manner, and its reliability can be compared wi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed is a log recovery technology, which may be applied to a distributed storage system. The log recovery method comprises: after a target storage node recovers to normal from a failure, sending a request to obtain a recovery log to a normal storage node in a distributed storage system; the target storage node receiving a first recovery log record which is returned by another storage node, a first recovery log indicating a service log which requires recovery; according to an indication of the first recovery log, the target storage node sending to the normal storage node a request to obtain a service log; the target storage node generating a target service log according to a received service log; and saving the target service log.

Description

technical field [0001] The present invention relates to the storage technology of the invention, and relates to the log field of the storage field technology. Background technique [0002] In the field of storage, more and more distributed storage adopts an object-based architecture, which is divided into upper and lower layers. The upper layer is the file system, block, S3 / Swift and other service layers, and the lower layer is the distributed key value (key value) , KV) storage layer. [0003] The distributed KV storage layer is responsible for the allocation, storage and release of system storage space, providing reliability across storage nodes for the upper service layer, and also needs to support the self-healing function of disk and other storage media failures. Distributed KV can realize the self-healing function through the associated log, and the associated log of the repair type is also called the recovery log. [0004] In addition to providing basic services suc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/14
CPCG06F11/1435G06F11/1464
Inventor 李开广王英
Owner HUAWEI TECH CO LTD