Modified consistent hashing confusion


in modified consistent hashing when the S1 shard dies ,is it that all the data is copied to S2 and S4 or data is equally divided among s2 and S4 for storage to avoid overloading of server


The ratio in which data will be divided between s2 and s4 or any other VMs like s3 will depend upon how many different hash functions are used to put shards in the ring. But definitely, all the data will not be copied to s2 and s4 in this case as they are not maintaining any replication factor for data.

In this case, Ideally, the data should be divided equally among s2 and s4 and we can guaranteed that also with the hash function which gives uniformly distributed results.