Replica management method for distributed file system

A distributed file and copy management technology, applied in the field of cloud computing cloud storage, can solve the problem of inconsistency of copy data between master nodes and block nodes, and achieve the effect of good self-fault tolerance

Active Publication Date: 2012-07-25
内蒙古浪潮信息科技有限公司
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a distributed file system, replica updates in the case of multi-replica redundancy may lead to data inconsistencies between master node and block node replicas

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
  • Replica management method for distributed file system
  • Replica management method for distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1, a copy management method in a distributed file system, comprising:

[0026] When the block node re-registers with the master node (for example, the block node is restarted), reset the state of the corresponding copy on the master node according to the state of the copy on the block node (that is, the block file); if the copy on the block node is damaged (such as the block file) If the block file on the node is accidentally deleted), set the corresponding copy on the master node to an error state; if the copy on the block node is about to be removed (for example, to remove the block node from the distributed file system, it will be If the block file on the block file is marked as removed), then set the corresponding copy on the master node to the correct state about to be removed; if the copy on the block node is normal, set the corresponding copy on the master node to the correct state.

[0027] If the current state of the copy on the master node is consis...

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 replica management method for a distributed file system, which includes steps of: resetting a corresponding replica state on main nodes according to a replica state on block nodes when the block nodes re-register to the main nodes; setting the corresponding replica state as an error state if the replicas on the block nodes are damaged; setting the corresponding replica state as a correct state to be removed if the replicas on the block nodes are to be removed; and setting the corresponding replica states as the correct state if the replicas on the block nodes are normal. The replica management method for the distributed file system is capable of maintaining replica consistency in the distributed file system.

Description

technical field [0001] The invention relates to the field of cloud computing and cloud storage, in particular to a copy management method in a distributed file system. Background technique [0002] Cloud storage is a new concept extended and developed on the basis of cloud computing. It refers to the integration and utilization of a large number of different types of storage devices in the network through technologies such as cluster applications, network technologies, and distributed file systems. A unified storage pool is formed to provide external storage services. [0003] As the core component of cloud storage, distributed file system has made great progress in recent years. In a distributed file system, replica updates in the case of multi-replica redundancy may lead to data inconsistencies between master node and block node replicas. Contents of the invention [0004] The technical problem to be solved by the present invention is how to maintain the consistency of...

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 内蒙古浪潮信息科技有限公司
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