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

Method and device for changing copy group members in distribution mode, equipment and medium

A technology for replicating groups and members, applied in the computer field, can solve problems such as affecting data reliability, and achieve the effects of low overhead, guaranteed reliability, and fast data synchronization.

Active Publication Date: 2020-06-12
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF21 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a method, device, device, and medium for changing members of a replication group in a distribution mode, which can solve the problem that frequent changes of members of a replication group in a distribution mode affect data reliability

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 and device for changing copy group members in distribution mode, equipment and medium
  • Method and device for changing copy group members in distribution mode, equipment and medium
  • Method and device for changing copy group members in distribution mode, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] figure 1 It is a schematic flowchart of a method for changing replication group members in the distribution mode provided by Embodiment 1 of the present application. This embodiment is applicable to the situation where the members of the replication group need to be changed when data is stored in the distribution mode, and it can be performed by the device for changing the members of the replication group in the distribution mode provided by the embodiment of the present application. The device can use software and / or or hardware implementation. Such as figure 1 As shown, the method may include:

[0074] S101. When writing distribution data to a replication group, if it is detected that a target member in a replication group member set corresponding to the replication group does not satisfy an availability condition, determine a new changed member.

[0075] Wherein, a replication group represents a multi-copy backup of a data block. For example, a data block A has do...

Embodiment 2

[0104] figure 2 It is a schematic flowchart of a method for changing replication group members in the distribution mode provided by Embodiment 2 of the present application. This embodiment provides a specific implementation manner for the above embodiments, such as figure 2 As shown, the method may include:

[0105] S201. When writing distribution data to the replication group, if it is detected that the target member in the replication group member set corresponding to the replication group does not meet the availability condition, determine a new member to change.

[0106] S202. Select a synchronization member from other members of the replication group member set, and construct a replication group member change request, the replication group member change request includes: replication group identity, replication group member version number, stock data version number , the writer's version number, and the identity of the synchronization member.

[0107] Among them, the ...

Embodiment 3

[0144] image 3 It is a schematic structural diagram of an apparatus 30 for changing members of a replication group in a distribution mode provided in Embodiment 3 of the present application, which can execute a method for changing members of a replication group in a distribution mode provided in any embodiment of the present application, and has the ability to execute The corresponding functional modules and beneficial effects of the method. Such as image 3 As shown, the device may include:

[0145] The change member determination module 31 is used to determine a new change member if it detects that the target member in the copy group member set corresponding to the copy group does not meet the availability condition when writing distribution data to the copy group;

[0146] An inventory data synchronization module 32, configured to select a synchronization member from other members of the replication group member set, and control the change member to synchronize the inven...

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 copy group member changing method and device in a distribution mode, equipment and a medium, and relates to the field of data storage. According to the specific implementation scheme, when distribution data is written into a replication group, if it is detected that target members in a replication group member set corresponding to the replication group do not meet available conditions, new change members are determined; synchronous members are selected from other members of the replication group member set, and the change members are controlled to synchronize stock data of the replication group from the synchronous members; writing distribution data into the replication group member set and the alternative member set at the same time; and if it is detected that the change member completes synchronization of the stock data and the distribution data is successfully written into the alternative member set, updating the alternative member set into a new replication group member set of the replication group, and writing the new distribution data into the alternative member set. According to the invention, the reliability of each piece of to-be-stored data can be ensured, the overhead in the change process of replication group members is small, and the data synchronization speed is high.

Description

technical field [0001] The embodiments of the present application relate to computer technology, in particular to data storage technology, and in particular to a method, device, device and medium for changing members of a replication group in a distribution mode. Background technique [0002] The data redundancy strategy is a mechanism for the distributed storage system to store target data redundantly in order to ensure data reliability. A reasonable redundancy strategy can ensure that data will not be lost due to a single node failure. At present, in the mainstream implementation of distributed storage systems, there are three main modes for data storage: pipeline mode, distribution mode and tree mode. [0003] Under different data storage modes, the decline in the availability of some nodes in the replication group will lead to changes in the members of the replication group. Especially in the distribution mode, if the trade-off writing mechanism is adopted, slow nodes w...

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): G06F3/06
CPCG06F3/067G06F3/065G06F3/0614
Inventor 童鑫崔嘉诚赵文
Owner BEIJING BAIDU NETCOM SCI & 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