Patent ID: 8346722
Filing Date: 2013-01-01
Classification: G06F

Abstract:
1. A non-transitory computer-readable storage medium tangibly storing machine-readable instructions thereon, which when executed by the machine, cause the machine to perform operations comprising: detecting creation of one or more of a non-split index and a split index; storing a first replica of a part of the split index on a local host in a plurality of hosts, wherein the first replica is a local replica and the local host is a master host for the local replica of the split index part; determining a total number of replicas of any part of the split index that are stored on a first slave host; when the total number of replicas stored on the first slave host is equal to the total number of replicas stored on a second slave host, determining a total number of local replicas stored on the first slave host and on the second slave host; when the total number of local replicas stored on the first slave host is equal to the total number of local replicas stored on the second slave host, storing a second replica of the part of the split index on the first slave host; storing a first replica of the non-split index at the local host from the plurality of hosts, wherein the local host is the master host; determining a number of recently created non-split index replicas stored on rest of the plurality of hosts, wherein the rest of the plurality of hosts are slave hosts; when the number of recently created non-split index replicas stored on the first slave host is equal to the number of recently created non-split index replicas stored on the second slave host, determining resource usage by the first slave host and by the second slave host; when the resource usage is equal for both the first slave host and the second slave host, determining a total number of replicas for the first slave host and for the second slave host; and when the total number of replicas is equal for both slave hosts, storing a second replica of the non-split index on the first slave host.