Metadata processing method and device

A processing method and a technology of a processing device, which are applied in the computer field, can solve problems such as low data reliability, reduced writing performance, and unrecoverable data, so as to achieve the effect of reliability and availability

Active Publication Date: 2016-03-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The existing technology based on the master-standby mode has at least the following problems: the master-standby asynchronous synchronization method will have a master-standby synchronization cycle for writing data, and there will be a certain time delay in the process of writing data from the master node to the slave node. Data cannot be recovered and data reliability is not high
[0011] The existing technology based on the multi-copy mode has at least the following problems: Since the data will be written into multiple copies, only a few copies of the data will be selected for each read and write operation, making the data consistency very poor. When the write operation is very frequent When , the data versions stored by each node are very different, resulting in inconsistent data storage between nodes, so complex logic cannot be processed
Since the front end interacts directly with all nodes in the cluster, the interactive node needs to forward the received data to the master node during the write operation, that is, if the front end interacts with the slave node, the write operation can only be forwarded by the slave node to the master node. The master node, so one more node forwarding process is required. When the number of nodes exceeds 5, the write performance drops significantly

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 processing method and device
  • Metadata processing method and device
  • Metadata processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Embodiments of the present invention provide a metadata processing method and device, which are used to realize the reliability and availability of metadata write operations in a distributed storage system.

[0035] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0036] The terms "comprising" and "having" in the description and claims of the present invention and the above drawings, as well as any variations thereof, are intended...

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 discloses a metadata processing method and device, and is used for realizing the reliability and the availability of a metadata write operation in a distributed storage system. The metadata processing method provided by the invention comprises the following steps: a main node obtains a metadata write request sent from an access side, wherein the metadata write request comprises the metadata which needs to be uploaded into the distributed storage system, the distributed storage system comprises 2N+1 nodes, one node is a master node, rest nodes are 2N slave nodes, and N is a non-zero natural number; the master node stores the metadata according to the metadata write request, and independently sends the metadata to the 2N slave nodes; and if the master node receives confirmation information returned after at least N slave nodes in the 2N slave nodes store the metadata, the master node sends metadata write response to the access side.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a metadata processing method and device. Background technique [0002] Metadata refers to the index information of file content or simple key-value pair (English full name: Key-Value, English abbreviation: K-V) data, which has the characteristics of occupying less storage space, a large amount of data, and high reliability and availability requirements. In order to solve distributed Regarding the reliability and availability of metadata in the storage system, the current mainstream distributed storage systems provide the following processing methods for metadata: [0003] 1. Based on the master-standby mode [0004] The distributed storage system is divided into multiple units that can be expanded in parallel, with multiple main units, and each main unit is also connected to multiple backup units. The internal metadata of each unit is resolved based on the master-stand...

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): G06F17/30
CPCG06F16/13G06F16/182
Inventor 周健
Owner TENCENT TECH (SHENZHEN) 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