Method and server for replicating data in distributed storage environment
A technology of distributed storage and server, applied in the field of communication network
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] An embodiment of the present invention provides a method for replicating data in a distributed storage environment. Such as figure 1 Shown is a flowchart of a method for replicating data in a distributed storage environment according to an embodiment of the present invention. The method for duplicating data under the distributed storage environment of the embodiment of the present invention comprises the following steps:
[0031] S101. Obtain a copy request stored in the message middleware; the copy request includes a source area address, a source hash bucket (bucket) and a source object (object).
[0032] The execution subject of the embodiment of the present invention is the replication execution unit (Replication Worker). The replication execution unit can exist in the object storage system of the source area, can also exist in the object storage system of the target area, and can also exist in other objects in the object storage system. On the node, there is no li...
Embodiment 2
[0039] Embodiment 2 of the present invention provides a method for replicating data in a distributed storage environment. Such as figure 2 Shown is a flowchart of a method for replicating data in a distributed storage environment according to an embodiment of the present invention. The method for duplicating data under the distributed storage environment of the embodiment of the present invention comprises the following steps:
[0040] S201. Obtain a copy request stored in the message middleware; the copy request includes a source area address, a source hash bucket, and a source object.
[0041] S202. Store the source area address, source hash bucket and source object as a record in the database.
[0042]The database involved in the embodiments of the present invention can store data according to a relational model, and provide transaction guarantees of atomicity, consistency, isolation and durability (the four basic elements for correct execution of database transactions, ...
Embodiment 3
[0053] Embodiment 3 of the present invention provides a server. Such as Figure 4 Shown is a schematic diagram of a server according to an embodiment of the present invention. The server of the embodiment of the present invention includes:
[0054] The obtaining module 41 is configured to obtain a copy request stored in the message middleware; the copy request includes a source area address, a source hash bucket and a source object;
[0055] The sending module 42 is configured to send the copy request to the object storage system in the target area, so that the object storage system in the target area sends the copy request to the source area according to the source area address, the source hash bucket, and the source object in the copy request. The object storage system of the object storage system initiates the operation of obtaining the replicated data.
[0056] Further, the copy request stored in the message middleware is stored when there is a copy request in the objec...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


