Data processing method and apparatus
First Claim
Patent Images
1. A method, comprising:
- managing, by a partition management controller, a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks;
determining, by the partition management controller, that an additional one or more storage disks have been added to the cluster of storage disks;
when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, splitting, by the partition management controller, at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and
allocating, by the partition management controller, the at least one additional partition to a second plurality of storage disks in the cluster of storage disks.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing technology is provided, and is applied to a partition management device. The partition management device stores a partition view, the partition view records a correspondence between an ID of a current partition and an address of a storage disk, and a total quantity of current partitions may be less than a total quantity of final partitions.
-
Citations
18 Claims
-
1. A method, comprising:
-
managing, by a partition management controller, a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks; determining, by the partition management controller, that an additional one or more storage disks have been added to the cluster of storage disks; when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, splitting, by the partition management controller, at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and allocating, by the partition management controller, the at least one additional partition to a second plurality of storage disks in the cluster of storage disks. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A device, comprising:
-
a processor; and a computer-readable storage medium storing a program to be executed by the processor, the program including instructions for; managing a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks; determining that an additional one or more storage disks have been added to the cluster of storage disks; when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, splitting at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and allocating the at least one additional partition to a second plurality of storage disks in the cluster of storage disks. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer readable medium storing instructions that, when executed by one or more processors, causes a device to:
-
manage a plurality of current partitions for a first plurality of storage disks in a cluster of storage disks; determine that an additional one or more storage disks have been added to the cluster of storage disks; when the addition of the one or more storage disks causes an average quantity of current partitions per storage disk of the cluster of storage disks to meet a first condition, and causes the average quantity of current partitions per storage disk of the cluster of storage disks to not meet a second condition, split at least one of the current partitions to obtain at least one additional partition, which results in a new total quantity of current partitions; and allocate the at least one additional partition to a second plurality of storage disks in the cluster of storage disks. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification