Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Metadata operation authority information delay synchronization recovery method and system

A technology of operation authority and information delay, applied in the fields of digital data information retrieval, file system, digital data protection, etc., can solve problems such as affecting customer use, users cannot operate metadata, etc., achieving reliable design principles, highlighting substantive characteristics, The effect of wide application prospects

Active Publication Date: 2020-11-24
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When there are a lot of caches for the client, the MDS will rebuild the cache according to the cap information. It will take a very long time to restore the cap to the state before the failure. During this time, the user cannot operate the metadata on the MDS. The file directory affects the use of customers. The present invention provides a method and system for delayed synchronous recovery of metadata operation authority information

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 operation authority information delay synchronization recovery method and system
  • Metadata operation authority information delay synchronization recovery method and system
  • Metadata operation authority information delay synchronization recovery method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention. Key terms appearing in the present invention are explained below.

[0073] client: The client sends requests to the file system to complete operations such as adding, deleting, reading, and writing files;

[0074] MDS: metadata server, providing various access operations of metadata;

[0075] cap: Metadata operation authority, assigned ...

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 provides a metadata operation authority information delay synchronization recovery method and system. The method comprises the following steps of enabling a client to send a reconnectionmessage containing the number of metadata operation authorities to a metadata server when the metadata server is restarted because of a fault; when the metadata server processes the message sent by the client, judging whether the number of metadata operation authorities is equal to 1 or not; if the quantity of the metadata operation authorities is equal to 1, creating an empty index node and setting the state of the created index node to be an unloaded state; after the metadata server is started, when a request sent by a client is received to operate the index node, the state of the index node being judged; and performing metadata operation authority synchronization operation according to the state of the index node; and after the metadata operation authority synchronization operation iscompleted, continuing to execute the request completion response of the client. The method is advantaged in that fault switching efficiency of a metadata server is improved, and influence on the use of a user is reduced.

Description

technical field [0001] The invention relates to the technical field of metadata access rights, in particular to a method and a system for delayed synchronous recovery of metadata operation rights information. Background technique [0002] When the client accesses the file system and performs operations, the MDS (metadata server, which provides various metadata access operations) assigns the required cap (metadata operation authority) to the client (client). client and, MDS will save the cap in memory. The structure saved in the client is key-value, the key is the number of the MDS, and the value is the permission applied for from the MDS. The structure saved in MDS is key-value, where the key is the number of the client and the value is the permission assigned to the client. [0003] It can be seen from the above that the client and MDS have a many-to-many relationship. When operating the same inode (index node, each file has a corresponding inode, which contains some info...

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): G06F16/13G06F16/182G06F21/62
CPCG06F16/134G06F16/182G06F21/6218G06F2221/2141
Inventor 解志阳孟祥瑞
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products