I think you are confused about what sharding does. In a sharded replica 3 volume all the shards exist on all the replicas so there is no distribution. Might you be getting confused with erasure coding? The upshot of sharding is that if you have a failure, instead of healing multiple gigabyte vm files for example, you only heal the shards that have changed. This generally shortens the heal time dramatically.
Alastair
On 18 May 2016 at 12:54, Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx> wrote:
Il 18/05/2016 13:55, Kevin Lemonnier ha scritto:
Yes, that's why you need to use sharding. With sharding, the heal is much quicker and the whole VM isn't freezed during the heal, only the shard being healed. I'm testing that right now myself and that's almost invisible for the VM using 3.7.11. Use the latest version though, it really really wasn't transparent in 3.7.6 :).I don't like sharding. With sharing all "files" are split in shard and distributed across the whole cluster.
If everything went bad, reconstructing a file from it shards could be hard.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users