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

Data synchronization method, device and equipment of distributed storage system and storage medium

A distributed storage and data synchronization technology, applied in the field of communication, can solve the problems that the main storage server cannot be notified in time, no new data is written, and log entries are updated laggingly.

Active Publication Date: 2021-05-18
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This method of data synchronization has the following defects: after the primary storage server synchronizes the last log entry in the local log file to the secondary storage server, there may be no new data written within a certain period of time. Will no longer interact with the slave storage server for a certain period of time
Therefore, the primary storage server cannot promptly notify the secondary storage server of the latest log entry information that has been persisted by most of the storage servers, resulting in a delay in updating the log entries in the storage engine of the secondary storage server, which cannot be compared with the storage engine of the primary storage server. The log entries in the

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
  • Data synchronization method, device and equipment of distributed storage system and storage medium
  • Data synchronization method, device and equipment of distributed storage system and storage medium
  • Data synchronization method, device and equipment of distributed storage system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0048] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

[0049] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

[0050] In all examples shown and discussed herein, any specific values ​​should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have dif...

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 data synchronization method, device and equipment of a distributed storage system and the storage system.The distributed storage system comprises a master storage server and a slave storage server, and the method is implemented by the master storage server and comprises the steps that whether first log information is successfully written into the slave storage server or not is determined, the first log information comprises a latest log entry in a local log file of the main storage server; when it is determined that the first log information is successfully written from the storage server, whether data is written or not is determined; if it is determined that no data is written in, second log information is sent to the slave storage server to notify the slave storage server to store third log information, and the second log information does not have log entries; wherein the third log information comprises latest log entries persisted by other slave storage servers with the set number at present.

Description

technical field [0001] The present invention relates to the field of communication technology, and more specifically, to a data synchronization method for a distributed storage system, a data synchronization device for a distributed storage system, a storage server for a distributed storage system, and a computer storage medium. Background technique [0002] Currently, in a distributed storage system, a primary storage server can synchronize log entries in a local log file to a secondary storage server. At the same time, the master storage server will also notify the slave storage server of the latest log entry information that has been persisted by most of the storage servers, so that the slave storage server can update the latest log entry and all log entries before it. Read and store in the corresponding storage engine. [0003] This method of data synchronization has the following defects: after the primary storage server synchronizes the last log entry in the local log...

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
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/1097H04L65/40
Inventor 黎海兵
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
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