Data asynchronous replication method directing to mass storage system
A technology of asynchronous replication and mass storage, which is applied in the direction of data error detection and response error generation, which can solve the problems affecting the execution speed of write operations and reduce the efficiency of write operations, so as to achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] A data asynchronous replication method for mass storage systems, characterized in that it comprises the following steps:
[0030] In the first step, the client queries the management server for the information of the data server that owns the data block write lease;
[0031] In the second step, after receiving the query request, the management server executes the query and allocation operation of writing the lease;
[0032] Step 3: After receiving the information of the data server with a write lease, the client sends a write request to it. After receiving the write request, the data server writes the data to the corresponding copy, and adds one to the version number of the copy. The client returns the write operation success message, and adds a new task to the asynchronous replication queue of the management server;
[0033] In the fourth step, the management server periodically fetches tasks from the asynchronous replication queue, assigns the tasks to the data serve...
Embodiment 2
[0046] This embodiment includes: a management server storing metadata, several data servers storing data, and several clients, including the following steps:
[0047] In the first step, before the client computer performs a write operation on the data block CHUNK-A, it queries the management server for the information of the data server that owns the write lease of CHUNK-A.
[0048] In the second step, after receiving the query request of CHUNK-A write lease, the management server executes the query and allocation operation of the write lease.
[0049] The specific steps for querying and allocating operations of the write lease are as follows:
[0050]1) The management server searches for whether there is a data server with a write lease of CHUNK-A, if it is found that a data server has a write lease of CHUNK-A, in this embodiment, the data server is DS-A, and the information of DS-A is Return to the client, end the query and allocation operation of writing the lease, otherwi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 