A method and apparatus for data recovery

A recovery method and data technology, applied in the field of data processing, can solve problems affecting the performance of distributed shared storage systems, affecting the reading and writing of user business data, etc.

Active Publication Date: 2019-01-04
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the process of data recovery by a storage node usually affects the reading and writing of data on the

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 method and apparatus for data recovery
  • A method and apparatus for data recovery
  • A method and apparatus for data recovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In the existing distributed storage system, if some data stored on the primary storage node is damaged or other abnormality, in order to avoid data loss, the primary storage node usually needs to use the backup storage node in the distributed storage system in a short period of time. Stored data to complete data recovery. However, the primary storage node may also provide data read and write services for user services. At this time, the data recovery process performed by the primary storage node may affect user services. Especially when the user's business is busy, there will be more data read and write requests for the main storage node. However, at this time, the main storage node is in the process of data recovery, which may cause the main storage node to not respond to the data for a long time. Read and write requests, thus affecting the data read and write of user services.

[0062] Based on this, an embodiment of the present application provides a data recovery m...

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

The invention discloses a method and apparatus for data recovery, the method including: during each recovery cycle of the data recovery process, the first storage node obtains the first data amount ofthe recovered data, it is judged whether it reaches the preset allowable recovered data amount, and if so, the data recovery pauses, wherein the allowable data amount corresponds to the current business scenario, and the allowable recovered data amount is the preset data amount allowed to be recovered in a recovery cycle; it is judged whether the first storage node reaches the preset recovery completion condition or not, if the preset recovery end condition is not reached, the data recovery is continued in the next recovery cycle adjacent to the recovery cycle, and the above steps are executed again, and if the preset recovery end condition is reached, the data recovery process is ended. Visible, in the data recovery, for the current business scenario, the data recovery speed of the firststorage node is limited, so that the impact of the data recovery process on user traffic can be reduced as much as possible.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular, to a data recovery method and device. Background technique [0002] In a distributed shared storage system, if there is a disk failure or node failure in the cluster, for example, part of the data stored on the storage node is damaged, in order to avoid data loss, it is usually necessary to complete the recovery of the part of the data in a short time. However, the process of data recovery on a storage node usually affects the read and write of data on the storage node by user services, which may affect the performance of the current distributed shared storage system. In scenarios such as video surveillance and radio and television media resources, the distributed storage system is usually required to have continuous and stable performance. Impact. SUMMARY OF THE INVENTION [0003] The technical problem to be solved by the embodiments of the present applic...

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
IPC IPC(8): G06F11/14
CPCG06F11/1464G06F11/1469
Inventor 许银龙
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products