Metadata management method and device
A management method and management device technology, applied in the direction of electronic digital data processing, special data processing applications, other database retrieval based on metadata, etc., can solve the problems of cluster I/O business blocking, long data replication time, etc., to achieve Avoid the effects of data migration
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] image 3 It is a schematic flow diagram of an embodiment of the metadata management method of the present invention. This method can be executed by a certain node in the cluster. The method of this embodiment is a brief description. For the specific principle, please refer to the composition of the metadata heap in the node as described above. Way. Such as image 3 As shown, the method may include:
[0070] 301. Store metadata as a metadata pile, where the metadata includes the metadata collection currently running on its own node and the metadata collection currently running on all nodes in the cluster except itself;
[0071] Wherein, the metadata heap includes at least two basic shapes, and each basic shape is a binary tree shape composed of a vertex, a first leaf node and a second leaf node.
[0072] The storing metadata as a metadata heap includes:
[0073] Store the metadata set currently running by itself in the current basic shape located at the top layer of ...
Embodiment 2
[0081] Figure 4 It is a schematic diagram of the principle of another embodiment of the metadata management method of the present invention. This embodiment illustrates how each node in the cluster maintains data consistency, that is, the synchronization of configuration data on each node.
[0082] Such as Figure 4 As shown, the cluster includes four nodes, namely node 1, node 2, node 3, and node 4; and correspondingly shows the shape of the metadata heap inside each node, and the top level of each metadata heap is the local A collection of metadata that the node is currently running on. It should be noted that, see Figure 4 , for example, two layers of degraded data 1' and 1" of node 1 are stored in the metadata heap of node 1, while only one layer of degraded data 1' of node 1 is stored in the metadata heap of node 3, and in node 2 The degenerate data for node 1 is not stored in the metadata heap; this is because Figure 4 Merely for example, as already explained abov...
Embodiment 3
[0093] Figure 5 It is a schematic diagram of the principle of another embodiment of the metadata management method of the present invention. This embodiment illustrates how the metadata heap implements cluster splitting.
[0094] Such as Figure 5 As shown, the cluster including four nodes is still taken as an example. The cluster includes node 1, node 2, node 3, and node 4. The cluster is to be split into two two-node clusters, including a new cluster composed of node 1 and node 2. , and a new cluster consisting of nodes 3 and 4. After the cluster is split, because the nodes in the new cluster change, the metadata heap inside each node in the new cluster must also be changed; for example, in the new cluster composed of node 1 and node 2, the new cluster does not include node 3 and node 4, in the metadata pile inside node 1, the current basic shape corresponding to node 3 should not be connected with the current basic shape corresponding to node 2, because the two current b...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


