Method for adjusting data block counterpart number and metadata server node
A metadata server and adjustment method technology, applied in electrical components, store-and-forward switching systems, transmission systems, etc., can solve problems affecting system performance, unable to adjust data block access frequency or response time, etc., to improve aggregation bandwidth and ensure Availability and reliability, and the effect of improving utilization efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] This embodiment provides a method for adjusting the number of copies of a distributed file system data block, such as figure 2 shown, including:
[0023] Step 101, after receiving the copy adjustment information from the client, the metadata server node in the distributed file system saves the copy adjustment information in the metadata server node.
[0024] Wherein, the copy adjustment information includes a copy adjustment time for a data block copy and a copy adjustment number corresponding to the copy adjustment time. In addition, the copy adjustment information can also include other useful information as needed, such as file offset and so on.
[0025] Specifically, multiple copy adjustment times and copy adjustment numbers may be set for one data block copy in the copy adjustment information, where each copy adjustment number corresponds to a copy adjustment time. For example, as shown in Table 1, data block D1 is in T 1 Created at time 0, keep the number of c...
Embodiment 2
[0037] In the method described in the method embodiment 1, after the data block copy has been created in the data block node, the copy data is adjusted according to the configuration of the client, or according to the copy adjustment information pre-stored in the metadata server node. This embodiment provides a method for adjusting the number of copies in which the client sets copy adjustment information when creating a copy of a data block, such as image 3 shown, including:
[0038] Step 201, after receiving the data block creation instruction from the client, the metadata server node in the distributed file system saves the copy adjustment information therein.
[0039] Wherein, the data block creation instruction includes copy adjustment information for the data block copy to be created. The replica adjustment information includes a replica adjustment time and a replica adjustment number corresponding to the replica adjustment time.
[0040] In addition, the file offset c...
Embodiment 3
[0057] This embodiment provides another metadata server node on the basis of Embodiment 1 or 2 above, such as Figure 6 As shown, the metadata server node 10 includes a heartbeat monitoring module 14 in addition to a metadata processing module 11 , a replica management module 12 and an interface module 13 .
[0058] The heartbeat monitoring module 14 is used to perform heartbeat monitoring on the state of the data block node storing the copy of the data block when the number of copies is not adjusted. When a certain data block node is monitored to be unavailable, the The copy adjustment number in the copy adjustment information sends a copy adjustment instruction to the copy management module 12; the first management sub-module 121 of the copy management module 12 selects a corresponding number of data block copies according to the copy adjustment instruction from the heartbeat monitoring module 14. location, and save a copy of the data block to the corresponding data block no...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com