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

Metadata updating method, device and metadata server

An update method and metadata technology, applied in the storage field, can solve the problem of low efficiency of file metadata recovery scheme, and achieve the effect of avoiding time-consuming and improving efficiency.

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

AI Technical Summary

Problems solved by technology

[0006] The purpose of this application is to provide a metadata update method, device, metadata server and readable storage medium to solve the problem of low efficiency of traditional file metadata recovery schemes

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 updating method, device and metadata server
  • Metadata updating method, device and metadata server
  • Metadata updating method, device and metadata server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The core of the present application is to provide a metadata update method, device, metadata server and readable storage medium, which can find the last written object of a target file through a binary search method, which significantly improves the efficiency of file metadata recovery.

[0042] In order to make those skilled in the art better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0043] First, the application scenarios of the embodiments of the present application are introduced: ...

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 application discloses a metadata update method, device, metadata server and readable storage medium. The solution includes: obtaining the file size of a locally recorded target file and a writable range segment allocated for the target file; using a binary search method Find the last written object of the target file from the data management module according to the locally recorded file size and writable range segment; according to the last written object, determine the real file size of the target file, and update the locally recorded file size. It can be seen that this scheme uses the binary search method to find the last written object of the target file according to the file size of the target file recorded on the metadata server and the writable range segment allocated for the target file, which avoids the cost of searching one by one in the traditional scheme. The problem of too long time has significantly improved the efficiency of file metadata recovery.

Description

technical field [0001] The present application relates to the field of storage, and in particular, to a method, an apparatus, a metadata server, and a readable storage medium for updating metadata. Background technique [0002] In the process of using the distributed file system, when the client writes data to the files in the cluster, the data writing and the metadata writing are asynchronously separated, that is, the file data is written through the data management module, and in the subsequent time after the writing is completed, The client will use the method of asynchronously updating the metadata to update the metadata information such as file size cached in memory to the MDS. [0003] However, while updating the metadata asynchronously can improve the performance, it may also cause the file metadata size to be incorrect. For example, the data has been written to the data management module, but the client has not updated the new size information to the MDS. The cached...

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/21G06F16/23
CPCG06F16/182G06F16/23G06F16/219
Inventor 孙业宽
Owner 北京浪潮数据技术有限公司