Method for keeping consistency of copies in distributed system

A copy and master copy technology, applied in the field of maintaining copy consistency based on object storage systems, can solve problems such as data inconsistency, achieve low cost, fast recovery, and ensure data consistency

Inactive Publication Date: 2012-03-07
DAWNING INFORMATION IND BEIJING
View PDF6 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the replication mechanism, it is easy to cause data inconsistency between multiple copies

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
  • Method for keeping consistency of copies in distributed system
  • Method for keeping consistency of copies in distributed system
  • Method for keeping consistency of copies in distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The metadata server (MOS) in the storage system records the state of the replica in addition to recording the index. The client only modifies the master copy, and the slave copy is synchronized by the master copy ( figure 2 ). The synchronization process is divided into two steps: the memory operation phase and the disk operation phase. During the synchronization process, the copy records the memory log, and writes the log to disk or discards it according to the operation result.

[0019] 1. Memory operation stage

[0020] After receiving the data modification request from the client, the master copy modifies the local cache and synchronizes the slave copy cache. After the caches of each replica are consistent, the master replica responds to the client, indicating that the request has been processed. This process only operates the memory data, not the data in the disk. Each copy node records the operation log into the memory, and reports the error copy to the MOS (...

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 method for keeping consistency of copies in a distributed system, comprising the steps of: recording states of indexes and copies by a metadata server in a storage system; only modifying a master copy by a client, and synchronizing slave copies by the master copy; and in the synchronization process, recording memory logs in the copies, and recording the logs into discs or discarding according to operation results. According to the method for keeping consistency of copies in a distributed system, the consistency of data can be ensured when the copies are minimally available; a fault of data inconsistency caused by invalidation of networks, servers, discs and the like can be solved; and the copies can be resumed rapidly with a minimal cost.

Description

technical field [0001] The invention relates to the field of computer storage, in particular to a method for maintaining copy consistency based on an object storage system. Background technique [0002] With the development of informatization and the explosive growth of information resources, storage technology has experienced unprecedented development in all aspects. With the continuous growth of storage capacity and the continuous increase of the cost of storage devices, storage systems have gradually become the key to improving computer performance. [0003] The object storage technology makes full use of the functions and processing capabilities of the object storage device (OSD) to provide external object interfaces. In order to improve the reliability, availability and efficiency of objects, objects are often stored in multiple copies on different OSDs, so that when accessing the required objects, only one of the copies is accessed. This mechanism is called the replic...

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/30H04L29/08
Inventor 姜国梁付根希彭成苗艳超
Owner DAWNING INFORMATION IND BEIJING
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