Cluster extension in distributed systems using tree method
First Claim
1. A computer-implemented method for managing data storage servers, the method steps performed by one or more processors and comprising:
- establishing, by the one or more processors, a cluster of back-end servers organized into at least one leaf node, every back-end server in any leaf node mirroring every other back-end server in the same leaf-node;
establishing, by the one or more processors, a predefined set of ultimate identifiers for nodes that could be created in the cluster, each leaf node in the cluster having a node identifier that is unique in the cluster and one of the predefined set of ultimate identifiers;
storing every new data object on the cluster on particular back-end servers assigned to a particular leaf node of the at least one leaf node, the particular leaf node having a particular node identifier that identifies a subset of the set of ultimate identifiers, and providing for each new data object a universal identifier that combines(i) an object identifier that is unique on the particular leaf node; and
(ii) a server identifier, where the server identifier includes(a) a leaf node ID part having a value corresponding to the particular identifier of the particular leaf node to which the particular back-end server is assigned, and(b) an unused part having an at least partially arbitrary value, andWhere the node identifiers for nodes existing in the cluster at any one time identify non-overlapping subsets of the set of ultimate identifiers;
splitting, by the one or more processors, a first leaf node of the at least one leaf node into at least two new leaf nodes that replace the first leaf node; and
assigning, by the one or more processors, to each new leaf node, at least one of the back-end servers of the first leaf node such that replacing the first leaf node reassigns the back-end servers, originally organized in the first leaf node, to the new leaf nodes, where assigning back-end servers to one of the new leaf nodes includes;
appending a portion of the unused part of the server identifier, of each of the back-end servers of the first leaf node, to the leaf node ID part of the server identifier to create an updated leaf node ID part, wherein each updated leaf node ID part corresponds to a node identifier of one of the new leaf nodes; and
assigning each back-end server of the first leaf node to the new leaf node having a node identifier corresponding to the updated leaf node ID part of the back-end server.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, for managing a cluster of servers organized into nodes. A method of one aspect includes establishing a cluster; establishing a set of ultimate identifiers for nodes resulting from splitting in the cluster; and storing every new data object on a node that has a node identifier that identifies a subset of the set of ultimate identifiers, and providing for the object a universal identifier that combines (i) an object identifier that is unique on the node and (ii) a server identifier that is one of the ultimate identifiers in the subset. A method of another aspect includes generating for a new data object a universal identifier that has a node identifier part that uniquely identifies a node, a reserve part generated at least in part as a pseudo-random value, and an object identifier part that uniquely identifies the object in the node.
-
Citations
35 Claims
-
1. A computer-implemented method for managing data storage servers, the method steps performed by one or more processors and comprising:
-
establishing, by the one or more processors, a cluster of back-end servers organized into at least one leaf node, every back-end server in any leaf node mirroring every other back-end server in the same leaf-node; establishing, by the one or more processors, a predefined set of ultimate identifiers for nodes that could be created in the cluster, each leaf node in the cluster having a node identifier that is unique in the cluster and one of the predefined set of ultimate identifiers; storing every new data object on the cluster on particular back-end servers assigned to a particular leaf node of the at least one leaf node, the particular leaf node having a particular node identifier that identifies a subset of the set of ultimate identifiers, and providing for each new data object a universal identifier that combines (i) an object identifier that is unique on the particular leaf node; and (ii) a server identifier, where the server identifier includes (a) a leaf node ID part having a value corresponding to the particular identifier of the particular leaf node to which the particular back-end server is assigned, and (b) an unused part having an at least partially arbitrary value, and Where the node identifiers for nodes existing in the cluster at any one time identify non-overlapping subsets of the set of ultimate identifiers; splitting, by the one or more processors, a first leaf node of the at least one leaf node into at least two new leaf nodes that replace the first leaf node; and assigning, by the one or more processors, to each new leaf node, at least one of the back-end servers of the first leaf node such that replacing the first leaf node reassigns the back-end servers, originally organized in the first leaf node, to the new leaf nodes, where assigning back-end servers to one of the new leaf nodes includes; appending a portion of the unused part of the server identifier, of each of the back-end servers of the first leaf node, to the leaf node ID part of the server identifier to create an updated leaf node ID part, wherein each updated leaf node ID part corresponds to a node identifier of one of the new leaf nodes; and assigning each back-end server of the first leaf node to the new leaf node having a node identifier corresponding to the updated leaf node ID part of the back-end server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer program product, tangibly embodied on a non-transitory computer storage device, for managing data storage servers, the product being operable to cause data processing apparatus to perform operations comprising:
-
establishing a cluster of back-end servers organized into at least one leaf node, every back-end server in any leaf node mirroring every other back-end server in the same leaf node; establishing a predefined set of ultimate identifiers for nodes that could be created in the cluster, each leaf node in the cluster having a node identifier that is unique in the cluster and one of the predefined set of ultimate identifiers; storing every new data object on the cluster on particular back-end servers assigned to a particular leaf node of the at least one leaf node, the particular leaf node having a particular node identifier, and providing for each new data object a universal identifier that combines (i) an object identifier that is unique on the particular node; and (ii) a server identifier, where the server identifier includes; a) a leaf node ID part having a value corresponding to the particular leaf node identifier of the particular leaf node to which the particular back-end server is assigned, and b) an unused part having at least partially arbitrary value, and where the node identifiers for nodes existing in the cluster at any one time identify non-overlapping subsets of the set of ultimate identifiers; splitting a first leaf node of the at least one leaf node into at least two new leaf nodes that replace first leaf node; assigning to each new leaf node at least one of the back-end servers of the first leaf node such that replacing the first leaf node reassigns the back-end servers, originally organized in the first leaf node, to the new leaf nodes, where assigning back-end servers to one of the new leaf nodes includes appending a portion of the unused part of the server identifier, of each of the back-end servers of the first leaf node, to the leaf node ID part of the server identifier to create and updated leaf node ID part, wherein each updated leaf node ID part corresponds to a node identifier of one of the new leaf nodes; and removing from each back-end server of each new leaf node any data objects that have a server identifier with an updated leaf node ID part that does not correspond to the node identifier for the new leaf node to which the back-end server is assigned. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A system for managing data storage, comprising:
-
a memory storing a cluster of back-end servers organized into at least one leaf node, every back-end server in any leaf node mirroring every other back-end server in the same leaf node; and at least one processor that, when executed; establish a predefined set of ultimate identifiers for nodes that could be created in the cluster, each leaf node in the cluster having a node identifier that is unique in the cluster and one of the predefined set of ultimate identifiers;
where the set of ultimate identifiers is a set of binary numbers of a fixed length;cause every new data object on the cluster to be stored on a particular leaf node of the at least one leaf node, the particular leaf node having a particular node identifier that identifies a subset of the set of ultimate identifiers, and providing for the object a universal identifier that combines (i) an object identifier that is unique on the particular leaf node; and
(ii) a server identifier, where the server identifier has a fixed value, is one of the ultimate identifiers in the subset, and includes an identification of the particular node identifier of the particular leaf node to which the particular back-end server is assigned, and where the node identifiers for nodes existing in the cluster at any one time identify non-overlapping subsets of the set of ultimate identifiers;split a first leaf node of the at least one leaf node into at least two new leaf nodes that replace the first leaf node; and assign to each new leaf node, at least one of the back-end servers of the first leaf node such that replacing the first leaf node reassigns the back-end servers, originally organized in the first leaf node, to the new leaf nodes, where the server identifiers of the reassigned back-end servers each include an identification of the node identifier of the new leaf node to which the reassigned back-end server has been reassigned. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34)
-
-
35. A computer-implemented method for managing data storage servers, the method steps performed by one or more processors and comprising:
-
establishing, by the one or more processors, a cluster of back-end servers organized into at least one leaf node, every leaf node in the cluster having a node identifier that is unique in the cluster, every back-end server in any leaf node mirroring every other back-end server in the same leaf-node; establishing, by the one or more processors, a predefined set of ultimate identifiers for nodes that could be created in the cluster, storing every new data object on the cluster on a particular leaf node of the at least one leaf node, the particular leaf node having a particular node identifier that identifies a subset of the set of ultimate identifiers, and providing for the object an universal identifier that combines (i) an object identifier that is unique on the particular leaf node; and (ii) a server identifier, where the server identifier is one of the ultimate identifiers in the subset, and where the node identifiers for nodes existing in the cluster at any one time identify non-overlapping subsets of the set of ultimate identifiers; determining, by the one or more processors, whether the first leaf node has fewer than four back-end server and, if it does, adding back-end servers to the first leaf node so that the first leaf node has at least four back-end servers, and populating the added back-end servers with all of the data objects stored on the first leaf node, before splitting the first leaf node; splitting, by the one or more processors, a first leaf node of the at least one leaf node into at least two new leaf nodes that replace the first leaf node, wherein; the first leaf node had a first node identifier that identified a first subset of the set of ultimate identifiers, the new leaf nodes each have distinct node identifier that identifies a new distinct subset of the first subset, and the union of the new distinct subsets in the first subset; and splitting, by the one or more processors, the first leaf node comprising assigning back-end servers, originally organized in the first leaf node, to the new leaf nodes by replacing the first leaf node such that each new leaf node is assigned at least two of the back-end server originally organized in the first leaf node, wherein a first of the back-end servers assigned to each new leaf node mirrors other back-end servers assigned to the particular new leaf node but does not mirror the back-end servers in the other new leaf nodes replacing the first leaf node; and removing, by the one or more processors, from each back-end server of each new leaf node any data objects that have a server identifier that does not correspond to the node identifier for the new leaf node to which the back-end server is assigned, node ID part of the back-end server.
-
Specification