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

Method, device, equipment and readable storage medium for metadata object restoration

A metadata object and repair method technology, applied in the computer field, can solve the problems of reducing the service performance of the distributed storage system, affecting the user access experience, and being unable to be accessed, so as to solve the inaccessibility of files, optimize the access experience, and improve service performance. Effect

Active Publication Date: 2022-04-22
北京浪潮数据技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, each directory in the file storage path has its own metadata object. If the metadata object of a directory is lost or damaged, the subdirectories or files included in this directory will not be accessible, thus reducing the distributed storage capacity. The service performance of the system affects the user's access experience

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
  • Method, device, equipment and readable storage medium for metadata object restoration
  • Method, device, equipment and readable storage medium for metadata object restoration
  • Method, device, equipment and readable storage medium for metadata object restoration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will be combined with the drawings in the embodiment of the present application, the technical solution in the embodiment of the present application is clearly and completely described, it is clear that the embodiment described is only a part of the embodiment of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without doing creative labor, are within the scope of protection of the present application.

[0049] Currently, when the metadata object of a directory in a distributed storage system is corrupted, the files included in that directory will not be accessible, thus affecting the user's access experience. To this end, the present application provides a metadata object repair solution, can solve the technical problems due to directory metadata corruption caused by file inaccessibility, improve the service performance of distributed storage...

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

This application discloses a metadata object restoration method, including: obtaining the target file, querying the storage path of the target file according to the identification information of the target file; respectively judging whether the metadata object of each target directory exists; if not, creating the target file The metadata object of the directory, and the target key-value pair calculated according to the directories and / or files included in the target directory is added to the metadata object. This application can determine its storage path according to any file in the distributed storage system, and when the metadata object of any directory in the storage path does not exist, calculate and obtain the target key value according to the directories and / or files included in the directory Yes, adding the target key-value pair to the metadata object newly created for the directory completes the restoration of the metadata object of the current directory, thereby improving the service performance of the distributed storage system. The metadata object restoration device, equipment, and readable storage medium disclosed in the present application also have the above-mentioned technical effects.

Description

Technical field [0001] The present application relates to the field of computer technology, in particular to a metadata object repair method, apparatus, apparatus and readable storage medium. Background [0002] Data stored in distributed storage systems includes metadata and data. Metadata is used to describe the attribute information of a directory or file, and the data is the data and content in the file. Where, each directory in the file storage path has its own metadata object, if the metadata object of a directory is lost or corrupted, then the subdirectories or files included in this directory will not be accessible, thereby reducing the service performance of the distributed storage system and affecting the user's access experience. [0003] Therefore, how to repair the metadata object of the directory, is a problem that those skilled in the art need to solve. Contents of the Invention [0004] In view of this, the object of this application is to provide a metadata obj...

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): G06F16/182G06F16/16G06F16/11
CPCG06F16/182G06F16/16G06F16/113
Inventor 赵钦虎
Owner 北京浪潮数据技术有限公司