Metadata fault-tolerant recovery method in distributed storage system

A technology of distributed storage and recovery methods, which is applied in the field of metadata fault-tolerant recovery in distributed storage systems, can solve problems such as data loss and metadata server performance impact, and achieve the effects of improving performance, ensuring reliability, and broadening prospects for development

Inactive Publication Date: 2012-09-12
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Usually, the traditional metadata fault-tolerant recovery scheme is to store most of the metadata on the local disk of the metadata server or backup server, and only a small part of the metadata is stored in the memory of the metadata server to meet the needs of real-time metadata request performance. and the reliability of metadata, the problem brought about by this is that the performance of the metadata server will be greatly affected. At the same time, if the metadata server fails, the metadata stored in the memory cannot be written to the disk in time. cause loss, the consequences are more serious

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
  • Metadata fault-tolerant recovery method in distributed storage system
  • Metadata fault-tolerant recovery method in distributed storage system
  • Metadata fault-tolerant recovery method in distributed storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] Let the metadata server store three types of metadata: the namespace of the file and the namespace of the chunk, the mapping from the file to the chunk, and the location of the replica of the chunk. All metadata is kept in memory. The first two types of metadata are kept constant by registering modifications to the operations log, which is stored on the metadata server's local disk and is replicated on several remote machines. Using logs allows us to easily and reliably update the state of the metadata server without inconsistencies even in the event of a metadata server crash. Because the metadata is stored in memory, the operation of the metadata server is very fast, and all requests to the metadata server will be responded in a very short time, thus ensuring the performance requirements of the metadata service.

[0032] The operations log contains a history of modifications made to metadata. It acts as a logical timeline defining the execution order of concurrent o...

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 present invention provides a metadata fault-tolerant recovery method in a distributed storage system. When power of a metadata server is cut off, the metadata in a memory may be inconsistent with the metadata in metadata files because that some operations have been performed on the files in advance and each file has a log after successful operation, and the operations on the files have resulted in metadata update which has not been timely written into the metadata files. When a recovery operation is performed to recover the metadata, first, a latest metadata file is loaded into a memory; then, a log from which the recovery begins is determined according to a version value, an execution on a log being actually a re-execution on the previous operation of a file; and when executions on all logs are completed, the metadata in the memory is written into the metadata files, newly generated metadata in the files are consistent with the metadata in the memory when the power is cut off.

Description

technical field [0001] The invention relates to the field of information storage, in particular to a metadata fault-tolerant recovery method in a distributed storage system. Background technique [0002] Traditional network storage systems use centralized storage servers to store all data. Storage servers become the bottleneck of system performance and the focus of reliability and security, which cannot meet the needs of large-scale storage applications. The distributed network storage system adopts a scalable system structure, uses multiple storage servers to share the storage load, and uses the location server to locate and store information. It not only improves the reliability, availability and access efficiency of the system, but is also easy to expand. More and more enterprises are starting to use distributed storage systems to store all data. [0003] However, for most distributed file systems, metadata and data are usually separated and stored in different servers, ...

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 Applications(China)
IPC IPC(8): G06F11/14H04L29/08
Inventor 崔赢颜秉珩张明富张俊张现忠
Owner LANGCHAO ELECTRONIC INFORMATION IND 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