Fault recovery method, system and related components of metadata cluster

A technology of fault recovery and metadata, applied in the directions of non-redundant fault processing, redundant operation data error detection in computing, and electrical digital data processing, etc., can solve problems such as increasing fault recovery time, and shorten faults Recovery time, reduced loading time, improved efficiency

Active Publication Date: 2022-02-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the amount of inode information in the client's existing cache is huge, and if all metadata is loaded, it will inevitably increase the failure recovery time

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
  • Fault recovery method, system and related components of metadata cluster
  • Fault recovery method, system and related components of metadata cluster
  • Fault recovery method, system and related components of metadata cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0033] see below figure 1 , figure 1 It is a flow chart of a metadata cluster failure recovery method provided by the embodiment of the present application.

[0034] Specific steps can include:

[0035] S101: When it is detected that the metadata cluster is faulty, determine the faulty metadata service in the metadata cluster;

[0036] Wherein, th...

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 failure recovery method for a metadata cluster. The failure recovery method includes determining the failure metadata service in the metadata cluster when a failure of the metadata cluster is detected; The standby metadata service, and establish communication connections between all clients and the standby metadata service; transmit the target inode information in the operation file list of each client to the standby metadata service, so that the metadata cluster can resume external service; wherein, the target inode information is the inode information currently being used by the client. The method can reduce the loading time of the inode information and improve the recovery efficiency of the metadata service when the metadata service fails to recover. The application also discloses a metadata cluster failure recovery system, a computer-readable storage medium and an electronic device, which have the above beneficial effects.

Description

technical field [0001] The invention relates to the field of data storage management, in particular to a metadata cluster failure recovery method and system, a computer-readable storage medium and an electronic device. Background technique [0002] When the metadata cluster fails, the standby metadata service takes over from the failed metadata service and restores the external services of the cluster. During the recovery period, the metadata service that takes over does not provide external services, that is, it does not respond to client requests. Therefore, the recovery time directly affects the user experience. [0003] In the prior art, it is necessary to re-establish the connection with the client during the recovery of the metadata cluster failure, and all the clients will send all the inode (index node) information in the existing cache to the standby metadata service, so that the standby metadata service can These inode information are loaded into memory. However...

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): G06F11/07G06F11/14
CPCG06F11/0709G06F11/0793G06F11/1435
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