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 such as affecting system performance, inability to adjust data block access frequency or response time, etc., to improve aggregate bandwidth, guarantee Availability and reliability, 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, as shown in FIG. 2 , 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 copies...
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 data block copy, as shown in FIG. 3 , 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 can also b...
Embodiment 3
[0057] This embodiment provides another metadata server node on the basis of Embodiment 1 or 2 above. As shown in FIG. 6 , the metadata server node 10 includes a metadata processing module 11, a copy management module 12 and an interface module In addition to 13, a heartbeat monitoring module 14 is also included.
[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 bl...
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