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

Distributed transaction processing method on basis of shared storage pool

A distributed transaction and shared storage technology, which is applied in the field of distributed file system classification, can solve the problems of reduced performance, high number of protocol communications, and complicated use, so as to reduce the number of communications, improve system performance, and reduce the scope.

Inactive Publication Date: 2013-11-20
INST OF INFORMATION ENG CHINESE ACAD OF SCI
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the bottleneck of network, computing and memory resources, the structure of a single metadata server cannot well adapt to the growth of the storage system scale. At the same time, a single metadata server will also become a single point of failure (SPOF) of the system
[0004] In order to overcome these scalability problems, some recent studies have adopted multiple metadata servers to provide stronger metadata services, such as Ceph, PVFS, HDFS2, etc., but these systems either use complex and slow two-phase commit (Two-phase Phase Commit) to implement distributed metadata operations (such as Ceph), or disallow distributed transactions from metadata division (such as PVFS and HDFS2)
The slow two-phase commit method will affect the metadata access performance of the distributed file system, and the method that does not allow distributed transactions in terms of metadata division will reduce the flexibility, adaptability and scalability of metadata services, making Efficiency of metadata services is limited
In addition, some studies have adopted an improved three-phase commit method. Although it eliminates the above-mentioned waiting problem, it has more protocol communications, which reduces the performance of the system under normal execution conditions.

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
  • Distributed transaction processing method on basis of shared storage pool
  • Distributed transaction processing method on basis of shared storage pool
  • Distributed transaction processing method on basis of shared storage pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0037] Such as figure 1 As shown, this embodiment provides a distributed transaction processing method based on a shared storage pool, including:

[0038] Step 1. Organize the metadata storage of the distributed file system in units of directories, and map the full path of the directory to multiple metadata servers based on the hash method.

[0039] Step 2, the client decomposes the stored metadata, and selects a set of metadata servers that need to participate in distributed transactions according to the decomposition results, and designates one metadata server as the coordinator, and the rest of the metadata servers as participants.

[0040]Step 3, the selected metadata server separately evaluates the distributed...

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 relates to a distributed transaction processing method on the basis of a shared storage pool. The distributed transaction processing method includes mapping all directory paths of a distributed file system to metadata servers on the basis of Hash; assigning a coordinator and a plurality of participators in a metadata server set with requirements on participating in distributed transaction; enabling the metadata servers to assess distributed transaction operation which need to be completed by the metadata servers, reporting 'termination' to the coordinator if the metadata servers cannot complete the distributed transaction operation, and reporting 'commitment' to the coordinator and locking resources if the metadata servers can complete the distributed transaction operation; enabling the coordinator to write the 'commitment' or the 'termination' into a global log of the shared storage pool according to report results of the participators and informing the participators; enabling the participators to execute the distributed transaction operation or cancel the locked resources; enabling the certain participator or the coordinator, which first checks a state of the distributed transaction, in the shared storage pool to set the distributed transaction into a 'termination' state when the coordinator or the participators fails. The distributed transaction processing method has the advantage that the transaction of metadata service in the distributed file system can be processed quickly in an extensible environment.

Description

technical field [0001] The invention relates to the technical field of distributed file system classification, in particular to a distributed transaction processing method based on a shared storage pool. Background technique [0002] Distributed File System (Distributed File System) means that the physical storage resources managed by the file system are not necessarily directly connected to the local node, but are connected to the node through a computer network. The design of the distributed file system is based on the client / server model. [0003] In recent years, with the emergence of more and more Web2.0 Internet services, data is gradually formed and stored centered on users. Therefore, the scale of data and the number of files have increased dramatically. Existing distributed file systems are either oriented to traditional application scenarios with high I / O bandwidth or are limited by the complexity of technical implementation, so they mostly use the structure of a ...

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
Inventor 马灿王伟平孟丹周江王有为
Owner INST OF INFORMATION ENG CHINESE ACAD OF SCI
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